<!DOCTYPE html>
<!-- saved from url=(0064)https://admin.bonnidee.cn/weixinpl/common_shop/jiushop/index.php -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">
<meta content="telephone=no" name="format-detection">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<script>
  var template_id=-1;
  var page_num=1;
</script>
<title>有钱赚旅游 </title>
<link href="./index_files/global.css" rel="stylesheet" type="text/css">
<link href="./index_files/style_common.css" rel="stylesheet" type="text/css">
<link href="./index_files/limit.css" rel="stylesheet" type="text/css">
<link href="./index_files/swiper.min.css" rel="stylesheet" type="text/css">
<style>
    	.hide{display:none;}
</style>
<script src="./index_files/jweixin-1.3.0.js.下载"></script>
<script type="text/javascript" src="./index_files/jquery-1.12.1.min.js.下载"></script>
<script type="text/javascript" src="./index_files/global.js.下载"></script>
<script type="text/javascript" src="./index_files/shop.js.下载"></script>
<script type="text/javascript" src="./index_files/utility.js.下载" charset="utf-8"></script>
<script type="text/javascript" src="./index_files/forward_new.js.下载" charset="utf-8"></script>
<script language="javascript">
$(document).ready(shop_obj.page_init);
</script>

<script type="text/javascript">
	var skin_index_init=null;
</script>
</head><body style="background-color: rgb(255, 255, 255);"><div class="zhezhao" id="zhezhao"></div>
        <div class="zhezhao_loc" id="zhezhao_loc"></div>
        <div class="loading" id="loading"><span>定位中...</span></div>

	<!--悬浮客服-->

<!--
<style type="text/css">
#ChatFloat{
position: fixed;
right: 0px;
top: 150px;
z-index: 99999;
height: 70px;
width: 65px;
min-width: 65px;
/*background-image: url(images/MobileChatFloat.png);*/
background-image: url();
background-size: 65px;
background-position: 0px 0px;
background-repeat: no-repeat no-repeat;
}
</style>

		<div id="ChatFloat" onclick=""></div>

<script type="text/javascript">
var ChatFloat=document.getElementById('ChatFloat');
        ChatFloat.addEventListener("touchmove", function () {
            event.preventDefault();
            ChatFloat.style.left = (event.targetTouches[0].pageX -document.body.scrollLeft - 30) + "px";
            ChatFloat.style.top = (event.targetTouches[0].pageY - document.body.scrollTop - 30) + "px";
        }, false);
		function closewindow(){  //开启多客服按钮关闭当前页面
			wx.closeWindow();
		}
</script>
-->


<!--自定义模板存放的样式JS-->
<link rel="stylesheet" type="text/css" href="./index_files/global(1).css">
<link rel="stylesheet" type="text/css" href="./index_files/com.css">
<link rel="stylesheet" type="text/css" href="./index_files/mod.css">
<link rel="stylesheet" type="text/css" href="./index_files/custom.css">
<link rel="stylesheet" type="text/css" href="./index_files/custom2.css">
<link rel="stylesheet" type="text/css" href="./index_files/jquery-ui.css">



<style>
  .loading {
        width: 180px;
        height: 100px;
        top: 50%;
        margin-top: -50px;
        position: fixed;
        background: url('images/loading.gif');
        display: none;
        left: 50%;
        background-size: 100%;
        background-position: 50% 50%;
        margin-left: -90px;
        background-position-y: -34px;
        z-index: 10001;
        border-radius: 10px;
        opacity: 0.8;
    }
    .zhezhao,.zhezhao_loc {
        width:100%;
        height:100%;
        background-color:#000;
        filter:alpha(opacity=50);
        -moz-opacity:0.5;
        opacity:0.5;
        position:fixed;
        left:0px;
        top:0px;
        display:none;
        z-index:10000;
    }
    .loading span {
        display: inline-block;
        bottom: 12px;
        left: 50%;
        margin-left: -30px;
        position: absolute;
        color: #555555;
    }
</style>
<!-- <body onscroll="onscrollFun()" style="padding-bottom:80px;"> -->

<div class="order_message hide" id="order_message" style="background-color: rgba(0,0,0,0.7);border-radius: 30px;height:30px;position:fixed;top: 52px;left: 10px;z-index: 10;">
	<img style="width: 24px;height: 24px;border-radius: 50%;vertical-align: middle;margin:2px 3px;display: inline-block;" src="./index_files/dalibao.jpg">
	<p style="color: #ffffff;font-size: 12px;display: inline-block;margin: 0;vertical-align: middle;padding-right: 7px;"><span style="width:46px;display:inline-block;vertical-align:middle;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;margin-right: 5px;">瞪圆德惠</span><span style="display:inline-block;vertical-align:middle;">下了一笔订单</span><span style="display:inline-block;vertical-align:middle;margin-left: 5px;">5分钟前</span></p>
</div>
<div id="shop_page_contents">
<div id="cover_layer"></div>
<script type="text/javascript" src="./index_files/flexslider.js.下载"></script>
 <script type="text/javascript" src="./index_files/index5.js.下载"></script>
<script language="javascript">
var owner_id ='-1';
var fromuser ="";
var from_type ='0';
</script>

<script>
document.body.style.backgroundColor="#ffffff";
</script>
<link type="text/css" rel="stylesheet" href="./index_files/css_orange.css">
<style>
/*滚动公告栏*/
.marquee{height:40px;line-height:40px;overflow:hidden;margin:0 auto;}
.marquee ul{height:40px;line-height:40px;font-size:0;}
.marquee ul li{padding:0 10px;line-height:40px;height:40px;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle;}

/*线下店铺--*/
.shop-content{background: #FFFFFF;padding: 10px;font-size: 0;margin-bottom: 10px;position:relative;padding-bottom:4px;}
    	.shop-info{display: inline-block;width: 73%;vertical-align: middle;margin-left: 2%;}
    	.shop-info p ,.star-grade{height: 20px;line-height: 20px;}
    	.star{display: inline-block;width: 64px;height: 12px;background-image: url(../../city_area/shop/images/star_normal5.png);background-repeat: no-repeat;background-size: 100% 100%;margin-top: 4px;}
        .star .select{    height: 100%;overflow-x: hidden;border:none;background:none;padding:0;vertical-align:top;display:block;}
        .star2{width: 64px;height: 12px;background-image: url(../../city_area/shop/images/star_select5.png);background-repeat: no-repeat;background-size: 100% 100%;}
        .shop-content img{width: 25%;height: 75px;vertical-align: middle;}
        .shop-name{font-size: 14px;color: #646464;}
        .p3{color: #646464;font-size: 0;}
        .p3 span{display: inline-block;font-size: 12px;}
        .condition01{width: 48%;}
        .condition02{width: 30%;}
        .condition03{width: 22%;text-align: right;}
        .pf{font-size: 12px;color: #ff9126;margin-left: 10px;}
        .small{width:15px !important;height:15px !important;position:absolute;top:10px;left:24%;}
        .span-img{max-width: 90px;width:41% !important;height: 15px !important;display: inline-block;border: 1px solid #c1c1c1;border-radius: 2px;}
        .daodianfu{border-radius:3px;-moz-border-radius: 3px;-webkit-border-radius: 3px;font-size:11px;color:#fff;background-color:#2dacf1;padding:1px 2px 1px 2px;}
        .line{margin:8px 10px 0px 10px; height:1px;background-color:#e4e4e4;}
        .shop-action{padding:3px 10px 0px 10px;background-color: #fff;}
.shop-action.content{color:#2a2a2a;font-size:14px;line-height:29px;height:25px;padding-right:20px;display:inline-block;vertical-align:top;width:70%;}
        .shop-action .arrow{width:12px;height:12px;background-image: url("../../city_area/shop/images/arrow_right_gray.png");background-repeat: no-repeat;background-size:100% 100%;float:right;margin-top:-20px;}
        .icon{height:25px;line-height:25px;display:inline-block;vertical-align:top;}
        .shop-url{font-size:0;}
</style>
<!--自定义模板内容-->
<div class="WSY_main" style="background:#ffffff"><div class="con_display" style="background-color:#fff;background-image:url(https://admin.bonnidee.cn/weixinpl/common_shop/common/custom_temp/);background-size:100%;background-repeat:no-repeat;padding:0px 0;"> <div class="type1"> <div id="topDiv" class="topDiv"> <div class="searchArea" style="height:50px;line-height:50px;"><div class="lbs_search2"><div class="f_box first" onclick="citynav()"><p class="f_box" style="color:#ffffff;font-size:15px;" id="city_name">上海</p><img class="f_box" data-original="https://admin.bonnidee.cn/weixinpl/common_shop/common/custom_temp/images/xiala.png" src="./index_files/xiala.png" style="display: block;"></div><div class="f_box second" style="width:72%"><span onclick="lbs_search_name()"></span><input type="text" placeholder="请输入搜索关键字" id="lbs_searchname" name="lbs_searchname" value="" onkeydown="if(event.keyCode==13){lbs_search_name();}"></div></div> <div class="clear"></div> </div> </div> </div> <div class="type2" style="display:none;position:absolute;z-index:999;width:100%;"> <div id="areaContainerDiv" class="dataDiv"> <div class="entry-content"> <ul id="areaList" class="areaList" style="background-color:#fff;"> <li class="itemWrapper"> <div class="area-info" area-id="1"> <span>北京市</span> <img class="arrow" data-original="./images/arrow_right_gray2.png" src="./index_files/arrow_right_gray2.png" style="display: inline;"> </div> <div class="clear"></div> </li> </ul> </div> </div> </div></div><div class="con_display" style="padding-top:0px;padding-bottom:0px"><div id="banner_tabs" class="flexslider" style="height: 187.5px;"> <ul class="slides">  <li style="width: 375px; overflow: visible;"><a title="" href="https://admin.bonnidee.cn/weixinpl/mshop/list.php?customer_id=UmBRZA==&amp;tid=371" style="float: none; display: block; position: absolute; top: 0px; left: -750px; width: 375px;"><img src="./index_files/1512107537.jpg" width="100%" data-original="https://admin.bonnidee.cn/weixinpl/up/1/47/Custom/1512107537.jpg" style="display: block;"></a></li>  <li style="width: 375px; overflow: visible;"><a title="" href="https://admin.bonnidee.cn/weixinpl/mshop/list.php?customer_id=UmBRZA==&amp;tid=250" style="float: none; display: block; position: absolute; top: 0px; left: -375px; width: 375px;"><img src="./index_files/1510714837.jpg" width="100%" data-original="https://admin.bonnidee.cn/weixinpl/up/1/47/Custom/1510714837.jpg" style="display: block;"></a></li>  <li style="width: 375px; overflow: visible;"><a title="图片" href="https://admin.bonnidee.cn/weixinpl/mshop/list.php?customer_id=UmBRZA==&amp;tid=290" style="float: none; display: block; position: absolute; top: 0px; left: 0px; width: 375px;"><img src="./index_files/1510714842.jpg" width="100%" data-original="https://admin.bonnidee.cn/weixinpl/up/1/47/Custom/1510714842.jpg"></a></li>  <li style="width: 375px; overflow: visible;"><a title="" href="javascript:" style="float: none; display: block; position: absolute; top: 0px; left: 375px; width: 375px;"><img src="./index_files/1510714845.jpg" width="100%" data-original="https://admin.bonnidee.cn/weixinpl/up/1/47/Custom/1510714845.jpg"></a></li>  </ul> <ul class="flex-direction-nav" style="display:none;"> <li><a class="flex-prev" id="btn_prev" href="javascript:;"></a></li> <li><a class="flex-next" id="btn_next" href="javascript:;"></a></li> </ul></div></div><div class="con_display" style="padding-top:10px;padding-bottom:10px"><div class="content-box col5"> <div class="icon-box"><a href="https://admin.bonnidee.cn/weixinpl/mshop/list.php?customer_id=ATNabw==&amp;tid=373"><img data-original="https://admin.bonnidee.cn/weixinpl/up/1/47/Custom/1512115343.jpg" src="./index_files/1512115343.jpg" style="display: inline;"><p style="color:#000">尾单</p></a></div> <div class="icon-box"><a href="https://admin.bonnidee.cn/weixinpl/common_shop/jiushop/index.php?customer_id=ATNabw==&amp;diy_template_id=50"><img data-original="https://admin.bonnidee.cn/weixinpl/up/1/47/Custom/1512115731.jpg" src="./index_files/1512115731.jpg" style="display: inline;"><p style="color:#000">泰国</p></a></div> <div class="icon-box"><a href="https://admin.bonnidee.cn/weixinpl/common_shop/jiushop/index.php?customer_id=ATNabw==&amp;diy_template_id=51"><img data-original="https://admin.bonnidee.cn/weixinpl/up/1/47/Custom/1512115702.jpg" src="./index_files/1512115702.jpg" style="display: inline;"><p style="color:#000">日本</p></a></div> <div class="icon-box"><a href="https://admin.bonnidee.cn/weixinpl/common_shop/jiushop/index.php?customer_id=ATNabw==&amp;diy_template_id=52"><img data-original="https://admin.bonnidee.cn/weixinpl/up/1/47/Custom/1512115735.jpg" src="./index_files/1512115735.jpg" style="display: inline;"><p style="color:#000">海岛</p></a></div> <div class="icon-box"><a href="https://admin.bonnidee.cn/weixinpl/common_shop/jiushop/index.php?customer_id=ATNabw==&amp;diy_template_id=54"><img data-original="https://admin.bonnidee.cn/weixinpl/up/1/47/Custom/1512115738.jpg" src="./index_files/1512115738.jpg" style="display: inline;"><p style="color:#000">欧美</p></a></div> <div class="clear"></div></div></div><div class="con_display" style="padding-top:10px;padding-bottom:10px"><div class="content-box col5"> <div class="icon-box"><a href="https://admin.bonnidee.cn/weixinpl/common_shop/jiushop/index.php?customer_id=DT9RZA==&amp;diy_template_id=56"><img data-original="https://admin.bonnidee.cn/weixinpl/up/1/47/Custom/1512115751.jpg" src="./index_files/1512115751.jpg" style="display: inline;"><p style="color:#000">澳新</p></a></div> <div class="icon-box"><a href="https://admin.bonnidee.cn/weixinpl/common_shop/jiushop/index.php?customer_id=DT9RZA==&amp;diy_template_id=57"><img data-original="https://admin.bonnidee.cn/weixinpl/up/1/47/Custom/1512115978.jpg" src="./index_files/1512115978.jpg" style="display: inline;"><p style="color:#000">邮轮</p></a></div> <div class="icon-box"><a href="https://admin.bonnidee.cn/weixinpl/common_shop/jiushop/index.php?customer_id=DT9RZA==&amp;diy_template_id=58"><img data-original="https://admin.bonnidee.cn/weixinpl/up/1/47/Custom/1512115985.jpg" src="./index_files/1512115985.jpg" style="display: inline;"><p style="color:#000">出境</p></a></div> <div class="icon-box"><a href="https://admin.bonnidee.cn/weixinpl/common_shop/jiushop/index.php?customer_id=DT9RZA==&amp;diy_template_id=37"><img data-original="https://admin.bonnidee.cn/weixinpl/up/1/47/Custom/1512115989.jpg" src="./index_files/1512115989.jpg" style="display: inline;"><p style="color:#000">国内</p></a></div> <div class="icon-box"><a href="https://admin.bonnidee.cn/weixinpl/common_shop/jiushop/index.php?customer_id=DT9RZA==&amp;diy_template_id=46"><img data-original="https://admin.bonnidee.cn/weixinpl/up/1/47/Custom/1511319464.jpg" src="./index_files/1511319464.jpg" style="display: inline;"><p style="color:#000">更多</p></a></div> <div class="clear"></div></div></div><div class="con_display" style="padding-top:0px;padding-bottom:0px"> <div class="members_con"> <a title="分割线" href="javascript:"><img width="100%" data-original="https://admin.bonnidee.cn/weixinpl/up/1/47/Custom/1512352193.jpg" src="./index_files/1512352193.jpg" style="display: inline;"></a> </div></div><div class="con_display" style="padding-top:0px;padding-bottom:0px"> <div class="members_con"> <a title="分割线" href="javascript:"><img width="100%" data-original="https://admin.bonnidee.cn/weixinpl/up/1/47/Custom/1511319880.jpg" src="./index_files/1511319880.jpg" style="display: inline;"></a> </div></div><div class="con_display" style="padding-top:0px;padding-bottom:0px"><div class="zt-box"> <a class="img1" href="https://admin.bonnidee.cn/mshop/web/index.php?m=sign&amp;a=index&amp;customer_id=UmBSZw==" style="background-image:url(https://admin.bonnidee.cn/weixinpl/up/1/47/Custom/1511345144.jpg)"></a> <a class="img2" href="https://admin.bonnidee.cn/weixinpl/mshop/coupons_center.php?customer_id=UmBSZw==" style="background-image:url(https://admin.bonnidee.cn/weixinpl/up/1/47/Custom/1511345205.jpg)"></a> <a class="img3" href="javascript:" style="background-image:url(https://admin.bonnidee.cn/weixinpl/up/1/47/Custom/1511345212.jpg)"></a> <div class="clear"></div></div></div><div class="con_display" style="padding-top:0px;padding-bottom:0px"><div class="zt-box"> <a class="img1" href="javascript:" style="background-image:url(https://admin.bonnidee.cn/weixinpl/up/1/47/Custom/1511345389.jpg)"></a> <a class="img2" href="javascript:" style="background-image:url(https://admin.bonnidee.cn/weixinpl/up/1/47/Custom/1511345240.jpg)"></a> <a class="img3" href="javascript:" style="background-image:url(https://admin.bonnidee.cn/weixinpl/up/1/47/Custom/1511345251.jpg)"></a> <div class="clear"></div></div></div><div class="con_display" style="padding-top:0px;padding-bottom:0px"> <div class="members_con"> <a title="分割线" href="javascript:"><img width="100%" data-original="https://admin.bonnidee.cn/weixinpl/up/1/47/Custom/1511336234.jpg" src="./index_files/1511336234.jpg" style="display: inline;"></a> </div></div><div class="con_display" style="padding-top:0px;padding-bottom:0px"><section class="members_imgad"><ul class="img-box clearfix"> <li style="margin-bottom:0px;"><a title="图片" href="https://admin.bonnidee.cn/weixinpl/mshop/product_detail.php?customer_id=UWMGMw==&amp;pid=241"><img width="100%" data-original="https://admin.bonnidee.cn/weixinpl/up/1/47/Custom/1515845554.jpg" src="./index_files/1515845554.jpg" style="display: block;"></a></li></ul></section></div><div class="con_display" style="padding-top:0px;padding-bottom:0px"><section class="members_imgad"><ul class="img-box clearfix"> <li style="margin-bottom:0px;"><a title="图片" href="https://admin.bonnidee.cn/weixinpl/mshop/product_detail.php?customer_id=DT9abw==&amp;pid=326"><img width="100%" data-original="https://admin.bonnidee.cn/weixinpl/up/1/47/Custom/1515845576.jpg" src="./index_files/1515845576.jpg" style="display: block;"></a></li></ul></section></div><div class="con_display" style="padding-top:0px;padding-bottom:0px"><section class="members_imgad"><ul class="img-box clearfix"> <li style="margin-bottom:0px;"><a title="图片" href="https://admin.bonnidee.cn/weixinpl/mshop/product_detail.php?customer_id=AjBTZg==&amp;pid=252"><img width="100%" data-original="https://admin.bonnidee.cn/weixinpl/up/1/47/Custom/1515845633.jpg" src="./index_files/1515845633.jpg" style="display: block;"></a></li></ul></section></div><div class="con_display" style="padding-top:0px;padding-bottom:0px"><section class="members_imgad"><ul class="img-box clearfix"> <li style="margin-bottom:0px;"><a title="图片" href="https://admin.bonnidee.cn/weixinpl/mshop/product_detail.php?customer_id=BDZSZw==&amp;pid=300"><img width="100%" data-original="https://admin.bonnidee.cn/weixinpl/up/1/47/Custom/1515845607.jpg" src="./index_files/1515845607.jpg" style="display: block;"></a></li></ul></section></div><div class="con_display" style="padding-top:0px;padding-bottom:0px"><section class="members_imgad"><ul class="img-box clearfix"> <li style="margin-bottom:0px;"><a title="图片" href="https://admin.bonnidee.cn/weixinpl/mshop/product_detail.php?customer_id=BjQCNw==&amp;pid=337"><img width="100%" data-original="https://admin.bonnidee.cn/weixinpl/up/1/47/Custom/1515845672.jpg" src="./index_files/1515845672.jpg" style="display: block;"></a></li></ul></section></div></div>
<div class="WSY_main_foot" style="background:#ffffff"><div class="con_display" style="padding-top:0px;padding-bottom:0px"> <div class="foot-box-fix col4 clearfix" style="padding-top:0px;padding-bottom:0px; background-color: ">  <div class="icon-box"> <a href="https://admin.bonnidee.cn/weixinpl/common_shop/jiushop/index.php?customer_id=V2UGMw=="><img src="./index_files/1510651704.jpg"><p style="color:#000">首页</p></a> </div>  <div class="icon-box"> <a href="https://admin.bonnidee.cn/weixinpl/mshop/list.php?customer_id=V2UGMw=="><img src="./index_files/1510650757.jpg"><p style="color:#000">行程</p></a> </div>  <div class="icon-box"> <a href="https://admin.bonnidee.cn/weixinpl/common_shop/jiushop/index.php?customer_id=V2UGMw==&amp;diy_template_id=44"><img src="./index_files/1510650775.jpg"><p style="color:#000">发现</p></a> </div>  <div class="icon-box"> <a href="https://admin.bonnidee.cn/weixinpl/mshop/personal_center.php?customer_id=V2UGMw=="><img src="./index_files/1510650783.jpg"><p style="color:#000">个人</p></a> </div>  </div>  <div class="clear-fix"></div> </div></div>
<!--搜索框-->
<script type="dot-template" id="type_con_1">
<div class="con_display" style="{{? it.content.padding}}padding-top:{{= it.content.padding}}px;padding-bottom:{{= it.content.padding}}px;{{?}}background-color:{{= it.content.bg_color}}">
{{? it.content.css_type==1}}
<div class="search-box-1">
<div class="search-layer-1">
    <input type="text" class="search-input-1" id="searchname" onkeydown="if(event.keyCode==13){search_name();}" placeholder="{{= it.content.placeholder }}" >
    <button type="submit" class="search-icon-1" onclick="javascript:search_name()"></button>
</div>
</div>
{{?? it.content.css_type==2}}
<div class="search-box-2">
<a title="{{=it.content.dataset[0].title}}" href="{{=it.content.dataset[0].link}}" ><img src="{{=it.content.dataset[0].pic}}" width="100%" class="search-logo"/></a>
<div class="search-layer-2">

    <input type="text" class="search-input-2" id="searchname" onkeydown="if(event.keyCode==13){search_name();}" placeholder="{{= it.content.placeholder }}" >
    <button type="submit" class="search-icon-2" onclick="javascript:search_name();"></button>
</div>
</div>
{{?? it.content.css_type==3}}
<div class="search-box-3">
<a title="{{=it.content.dataset[0].title}}" href="{{=it.content.dataset[0].link}}" ><img src="{{=it.content.dataset[0].pic}}" width="100%" class="search-logo"/></a>
<div class="search-layer-3">

    <input type="text" class="search-input-3" id="searchname" onkeydown="if(event.keyCode==13){search_name();}" placeholder="{{= it.content.placeholder }}" >
    <button type="submit" class="search-icon-3" onclick="javascript:search_name();"></button>
</div>
</div>
{{?? it.content.css_type==4}}
<div class="bg_style4" style="{{? it.content.bg_color=="#fff"}}background-color:#fd4000{{?}}">
    <div class="search-box-4">
		<div class="search-layer-4">
			<input type="text" class="search-input-4" id="searchname" onkeydown="if(event.keyCode==13){search_name();}" placeholder="{{= it.content.placeholder }}" >
		</div>
    </div>
	<div class="search-icon-4" onclick="javascript:search_name();" >
		<span onclick="javascript:search_name();"></span>
	</div>
</div>
{{?? it.content.css_type==5}}
<div class="bg_style5" style="{{? it.content.bg_color=="#fff"}}background-color:#fd4000{{?}}">
    <div class="search-box-5">
    <a title="{{=it.content.dataset[0].title}}" href="{{=it.content.dataset[0].link}}" ><img src="{{=it.content.dataset[0].pic}}" width="100%" class="search-logo5"/></a>
    <div class="search-layer-5" >
        <input type="text" class="search-input-5" id="searchname" onkeydown="if(event.keyCode==13){search_name();}" placeholder="{{= it.content.placeholder }}" >
        <button type="submit" class="search-icon-5" onclick="javascript:search_name();"></button>
    </div>
    </div>
</div>
{{?}}
</div>
</script>
<!--图片广告-->
<script type="dot-template" id="type_con_2">
<div class="con_display" {{? it.content.padding}}style="padding-top:{{= it.content.padding}}px;padding-bottom:{{= it.content.padding}}px"{{?}}>
{{? it.content.css_type==1&&it.content.dataset.length!=1}}
<div id="banner_tabs" class="flexslider">
    <ul class="slides">
    {{ for(var i=0,l=it.content.dataset.length;i<l;i++) { }}
        <li><a title="{{=it.content.dataset[i].title}}" href="{{=it.content.dataset[i].link}}" ><img src="{{=it.content.dataset[i].pic}}" width="100%" /></a></li>
    {{}}}
    </ul>
    <ul class="flex-direction-nav" style="display:none;">
        <li><a class="flex-prev" id="btn_prev" href="javascript:;"></a></li>
        <li><a class="flex-next" id="btn_next" href="javascript:;"></a></li>
    </ul>
</div>
{{?? it.content.css_type==2||it.content.dataset.length==1}}
<section class="members_imgad">
<ul class="img-box clearfix">
 {{ for(var i=0,l=it.content.dataset.length;i<l;i++) { }}
<li {{? it.content.margin}} style="margin-bottom:{{= it.content.margin}}px;"{{?}} ><a title="{{=it.content.dataset[i].title}}" href="{{=it.content.dataset[i].link}}" ><img src="{{=it.content.dataset[i].pic}}" width="100%" /></a></li>
{{}}}
</ul>
{{??}}
{{?}}
</section>
</div>
</script>
<!--分类图标-->
<script type="dot-template" id="type_con_3">
<div class="con_display" {{? it.content.padding}}style="padding-top:{{= it.content.padding}}px;padding-bottom:{{= it.content.padding}}px"{{?}}>
<div class="content-box col{{= it.content.dataset.length }}">
{{ for(var i=0,l=it.content.dataset.length;i<l;i++) { }}
    <div class="icon-box"><a href="{{=it.content.dataset[i].link}}"><img src="{{=it.content.dataset[i].pic}}">{{? it.content.pro_title_show==1}}<p style="color:{{=it.content.dataset[i].color}}">{{=it.content.dataset[i].title}}</p>{{?}}</a></div>
{{ } }}
    <div class="clear"></div>
</div>
</div>
</script>
<!--橱窗二图-->
<script type="dot-template" id="type_con_9">
<div class="con_display" {{? it.content.padding}}style="padding-top:{{= it.content.padding}}px;padding-bottom:{{= it.content.padding}}px"{{?}}>
{{? it.content.css_type==1}}
<div class="hf-box-1">
    <a href="{{=it.content.dataset[0].link}}"><img  class="hf-img"  src="{{=it.content.dataset[0].pic}}"></a>
    <a href="{{=it.content.dataset[1].link}}"><img  class="hf-img"  src="{{=it.content.dataset[1].pic}}"></a>
    <div class="clear"></div>
</div>
{{?}}
</div>
</script>
<!--橱窗三图-->
<script type="dot-template" id="type_con_4">
<div class="con_display" {{? it.content.padding}}style="padding-top:{{= it.content.padding}}px;padding-bottom:{{= it.content.padding}}px"{{?}}>
{{? it.content.css_type==1}}
<div class="zt-box">
    <a  class="img1" href="{{=it.content.dataset[0].link}}" style="background-image:url({{=it.content.dataset[0].pic}})"></a>
    <a  class="img2" href="{{=it.content.dataset[1].link}}" style="background-image:url({{=it.content.dataset[1].pic}})"></a>
    <a  class="img3" href="{{=it.content.dataset[2].link}}" style="background-image:url({{=it.content.dataset[2].pic}})"></a>
    <div class="clear"></div>
</div>
{{?? it.content.css_type==2}}
<div class="fl-box clearfix">
    <a href="{{=it.content.dataset[0].link}}"><img  class="f-img"  src="{{=it.content.dataset[0].pic}}"></a>
    <a href="{{=it.content.dataset[1].link}}"><img  class="f-img"  src="{{=it.content.dataset[1].pic}}"></a>
    <a href="{{=it.content.dataset[2].link}}"><img  class="f-img"  src="{{=it.content.dataset[2].pic}}"></a>
</div>
{{?}}
</div>
</script>
<!--橱窗（四图）-->
<script type="dot-template" id="type_con_8">
<div class="con_display" {{? it.content.padding}}style="padding-top:{{= it.content.padding}}px;padding-bottom:{{= it.content.padding}}px"{{?}}>
{{? it.content.css_type==1}}
<div class="window-box-1 clearfix">
    <a  class="img1" href="{{=it.content.dataset[0].link}}" style="background-image:url({{=it.content.dataset[0].pic}})"></a>
    <a  class="img2" href="{{=it.content.dataset[1].link}}" style="background-image:url({{=it.content.dataset[1].pic}})"></a>
    <a  class="img3" href="{{=it.content.dataset[2].link}}" style="background-image:url({{=it.content.dataset[2].pic}})"></a>
    <a  class="img4" href="{{=it.content.dataset[3].link}}" style="background-image:url({{=it.content.dataset[3].pic}})"></a>
</div>
{{?? it.content.css_type==2}}
<div class="window-box-2 clearfix">
    <a href="{{=it.content.dataset[0].link}}"><img src="{{=it.content.dataset[0].pic}}" class="img1"></a>
    <a href="{{=it.content.dataset[1].link}}"><img src="{{=it.content.dataset[1].pic}}"  class="img1"></a>
    <a href="{{=it.content.dataset[2].link}}"><img src="{{=it.content.dataset[2].pic}}"  class="img1"></a>
    <a href="{{=it.content.dataset[3].link}}"><img src="{{=it.content.dataset[3].pic}}"  class="img1"></a>
</div>
{{?}}
</div>
</script>
<!--分类产品-->
<script type="dot-template" id="type_con_5">
<div class="con_display" {{? it.content.padding}}style="padding-top:{{= it.content.padding}}px;padding-bottom:{{= it.content.padding}}px"{{?}}>
<div class="floor clearfix">
	{{ for(var i=0,l=it.product.prodata.length;i<l;i++) { }}
    {{? it.content.css_type==1}}
    	{{? it.content.shop_type==0}}
    		<a href="../../mshop/product_detail.php?pid={{=it.product.prodata[i].pid}}&customer_id=ATNWYw==">
    	{{?? it.content.shop_type==1}}
    		<a href="../../city_area/shop/product_detail.php?product_id={{=it.product.prodata[i].pid}}&customer_id=ATNWYw==&order_supply_id={{=it.product.prodata[i].cityarea_id}}">
    	{{?}}
    <div class="pro-box">
    	{{? it.content.shop_type==1 && it.product.prodata[i].is_sharecard==1}}
    		<img class="shop-logo" style="position: absolute;left: 0px;top: 0px;width: 50px;height: 50px;" src="../../city_area/shop/images/sharecard_image/sharecard_icon.png">
    	{{?}}
        <img src="{{=it.product.prodata[i].default_imgurl}}" >
        {{? it.content.pro_title_show==1}}<p {{? it.content.pro_title_twoline==0}}class="goods-title"{{?? it.content.pro_title_twoline==1}}class="goods-title-2"{{?}}>{{=it.product.prodata[i].name}}</p>{{?}}
            <span class="goods-price"><span class="yen">
			￥			</span>{{=it.product.prodata[i].now_price}}</span>
			            <span class="old-price"><span class="yen">
			￥			</span>{{=it.product.prodata[i].orgin_price}}</span>
			        {{? it.content.show_sale==1}}<span class="sale">已售 {{=it.product.prodata[i].count}}</span>{{?}}
    </div>
    </a>
    {{?? it.content.css_type==2}}
    	{{? it.content.shop_type==0}}
    		<a href="../../mshop/product_detail.php?pid={{=it.product.prodata[i].pid}}&customer_id=ATNWYw==">
    	{{?? it.content.shop_type==1}}
    		<a href="../../city_area/shop/product_detail.php?product_id={{=it.product.prodata[i].pid}}&customer_id=ATNWYw==&order_supply_id={{=it.product.prodata[i].cityarea_id}}">
    	{{?}}
    <div class="pro-box-solo">
    	{{? it.content.shop_type==1 && it.product.prodata[i].is_sharecard==1}}
    		<img class="shop-logo" style="position: absolute;left: 0px;top: 0px;width: 50px;height: 50px;" src="../../city_area/shop/images/sharecard_image/sharecard_icon.png">
    	{{?}}
        <img src="{{=it.product.prodata[i].default_imgurl}}" >
        {{? it.content.pro_title_show==1}}<p {{? it.content.pro_title_twoline==0}}class="goods-title"{{?? it.content.pro_title_twoline==1}}class="goods-title-2"{{?}}>{{=it.product.prodata[i].name}}</p>{{?}}
        {{? it.content.show_sale==1}}<span class="sale-solo">已售 {{=it.product.prodata[i].count}}</span>{{?}}
        <p class="price-box">
            <span class="goods-price-solo"><span class="yen">
			￥			</span>{{=it.product.prodata[i].now_price}}</span>
			            <span class="old-price-solo"><span class="yen">
			￥			</span>{{=it.product.prodata[i].orgin_price}}</span>
			        </p>
    </div>
    </a>
    {{??}}
{{?}}
	{{ } }}

</div>
</div>
</script>
 <!--底部菜单-->
<script type="dot-template" id="type_con_6">
<div class="con_display" {{? it.content.padding}}style="padding-top:{{= it.content.padding}}px;padding-bottom:{{= it.content.padding}}px"{{?}}>
    <div class="{{? it.content.foot_position==2}}foot-box{{?? it.content.foot_position==1}}foot-box-fix{{??}}{{?}} col{{= it.content.dataset.length }} clearfix" style="{{? it.content.padding}}padding-top:{{= it.content.padding}}px;padding-bottom:{{= it.content.padding}}px;{{?}} background-color:{{=it.content.bg_color}} ">
    {{ for(var i=0,l=it.content.dataset.length;i<l;i++) { }}
        <div class="icon-box">
            <a href="{{=it.content.dataset[i].link}}"><img src="{{=it.content.dataset[i].pic}}?x-oss-process=image/resize,w_200" {{? it.content.pro_title_show==0}} class="big-img"{{?}}>{{? it.content.pro_title_show==1}}<p style="color:{{=it.content.dataset[i].color}}">{{=it.content.dataset[i].title}}</p>{{?}}</a>
        </div>
    {{ } }}
    </div>
    {{? it.content.foot_position==1}}
    <div class="clear-fix"></div>
    {{?}}
</div>
</script>
 <!--底部菜单 End -->
<!--分割线-->
<script type="text/j-template" id="type_con_7">
<div class="con_display" {{? it.content.padding}}style="padding-top:{{= it.content.padding}}px;padding-bottom:{{= it.content.padding}}px"{{?}}>
    <div class="members_con">
        <a title="{{=it.content.dataset[0].title}}" href="{{=it.content.dataset[0].link}}" ><img src="{{=it.content.dataset[0].pic}}" width="100%" /></a>
    </div>
</div>
</script>
<!--视频-->
<script type="dot-template" id="type_con_10">
<div class="con_display" {{? it.content.padding}}style="padding-top:{{= it.content.padding}}px;padding-bottom:{{= it.content.padding}}px"{{?}}>
    {{?it.content.video_link}}<iframe class="diy-video" src="{{=it.content.video_link}}" width="100%" height="220" wmode="transparen" allowfullscreen="true" style="border:0;"></iframe>
    {{??}}<img src="https://admin.bonnidee.cn/weixinpl/common_shop/common/custom_temp/images/video.jpg" style="width:100%">
    {{?}}
</div>
</script>
<!--LBS定位-->
<script type="dot-template" id="type_con_11">
<div class="con_display" style="{{? it.content.bg_color}}background-color:{{= it.content.bg_color}};{{?}}{{? it.content.dataset[0].pic}}background-image:url({{=it.content.dataset[0].pic}});background-size:100%;background-repeat:no-repeat;{{?}}{{? it.content.padding}}padding:{{= it.content.padding}}px 0;{{?}}">
    <div class="type1" >
        <div id="topDiv" class="topDiv" >
            <div class="searchArea" style="height:50px;line-height:50px;">
				{{? it.content.css_type==1}}
                <div class="selectArea" class="leftPane disp-inblock" style="overflow: hidden;padding-left:5px;">
                    <img style="float:left;margin-top:15px;" class="arrow" src="https://admin.bonnidee.cn/weixinpl/common_shop/common/custom_temp/images/lbs.png">
                    <span style="font-size:15px;float:left;padding-left:5px;color:{{= it.content.color}};" class="title" id="city_name" onclick="citynav()">上海</span>
					<img src="https://admin.bonnidee.cn/weixinpl/common_shop/common/custom_temp/images/xiala.png" style="display: inline-block;margin: 21px 5px;" onclick="citynav()">
				</div>
				{{?? it.content.css_type==2}}
					<div class="lbs_search2">
						<div class="f_box first" onclick="citynav()">
							<p class="f_box" style="color:{{= it.content.color}};font-size:15px;" id="city_name">上海</p>
							<img class="f_box" src="https://admin.bonnidee.cn/weixinpl/common_shop/common/custom_temp/images/xiala.png">
						</div>
						<div class="f_box second" style="width:72%">
							<span onclick="lbs_search_name()"></span>
							<input type="text" placeholder="{{= it.content.placeholder}}" id="lbs_searchname" name="lbs_searchname" value="" onkeydown="if(event.keyCode==13){lbs_search_name();}" >
						</div>
					</div>
				{{?? it.content.css_type==3}}
					<div class="lbs_search3">
                        <div class="f_box first" style="width:20%;max-width:55px;" onclick="citynav()">
							<p class="f_box" style="color:{{= it.content.color}};font-size:15px;" id="city_name">上海</p>
							<img class="f_box" src="https://admin.bonnidee.cn/weixinpl/common_shop/common/custom_temp/images/xiala.png">
                        </div>
						<div class="f_box second" style="margin-top:0;width:68%;margin-left:2%;">
							<input type="text" placeholder="{{= it.content.placeholder}}" id="lbs_searchname" name="lbs_searchname" value="" onkeydown="if(event.keyCode==13){lbs_search_name();}">
						</div>
						<div class="f_box third" style="float:right;margin-right:2%;margin-left:0;width:7%;" >
							<span onclick="lbs_search_name()"></span>
						</div>
					</div>
				{{?}}
                <div class="clear"></div>
            </div>
        </div>
    </div>
    <div class="type2" style="display:none;position:absolute;z-index:999;width:100%;">
            <div id="areaContainerDiv" class="dataDiv">
            <div class="entry-content">
                <ul id="areaList" class="areaList" style="background-color:#fff;">
                    <li class="itemWrapper">
                        <div class="area-info" area-id="1">
                            <span>北京市</span>
                            <img class="arrow" src="./images/arrow_right_gray2.png" >
                        </div>
                        <div class="clear"></div>
                    </li>
                </ul>
            </div>
        </div>
    </div>
</div>
</script>
<!--LBS城市广告-->
<script type="dot-template" id="type_con_12">
{{? it.content.is_show}}
<div class="con_display" {{? it.content.padding}}style="padding-top:{{= it.content.padding}}px;padding-bottom:{{= it.content.padding}}px"{{?}}>

{{? it.content.css_type==1}}
	{{
		var pic_len = it.content.dataset.length;
	}}
<div id="banner_tabs" class="flexslider">
	{{? pic_len > 1 }}
    <ul class="slides">
    {{ for(var i=0,l=it.content.dataset.length;i<l;i++) { }}
		{{? it.content.dataset[i].is_show}}
        <li><a title="{{=it.content.dataset[i].title}}" href="{{=it.content.dataset[i].link}}" ><img src="{{=it.content.dataset[i].pic}}" width="100%" /></a></li>
		{{?}}
    {{}}}
    </ul>
    <ul class="flex-direction-nav" style="display:none;">
        <li><a class="flex-prev" id="btn_prev" href="javascript:;"></a></li>
        <li><a class="flex-next" id="btn_next" href="javascript:;"></a></li>
    </ul>
    <ol class="flicking_con">
    {{ for(var i=0,l=it.content.dataset.length;i<l;i++) { }}
		{{? it.content.dataset[i].is_show}}
        <li><a {{? i==0}} class="on" {{?}}>{{=i+1}}</a></li>
		{{?}}
    {{ } }}
    </ol>
	{{??}}
	<ul class="one_pic">
		{{? it.content.dataset[0].is_show}}
        <li><a title="{{=it.content.dataset[0].title}}" href="{{=it.content.dataset[0].link}}" ><img src="{{=it.content.dataset[0].pic}}" width="100%" /></a></li>
		{{?}}
	</ul>
	{{?}}
</div>
{{?? it.content.css_type==2}}
<section class="members_imgad">
<ul class="img-box clearfix">
	{{ for(var i=0,l=it.content.dataset.length;i<l;i++) { }}
		{{? it.content.dataset[i].is_show}}
		<li {{? it.content.margin}} style="margin-bottom:{{= it.content.margin}}px;"{{?}} ><a title="{{=it.content.dataset[i].title}}" href="{{=it.content.dataset[i].link}}" ><img src="{{=it.content.dataset[i].pic}}" width="100%" /></a></li>
		{{?}}
	{{}}}
</ul>
{{?}}
</section>
</div>
{{?}}
</script>
<!--滚动公告栏-->
<script type="text/j-template" id="type_con_13">
{{? it.content.rolling_direction==1}}
	{{
		$(function(){
			$('#marquee{{= it.id}}').kxbdSuperMarquee({
				isMarquee:true,
				direction:'left',
				isEqual:false,
				scrollDelay:it.content.rolling_speed
			});
		});
	}}
{{?? it.content.rolling_direction==2}}
	{{
		$(function(){
			$('#marquee{{= it.id}}').kxbdSuperMarquee({
				direction:'up',
				isEqual:false,
				distance:40,
				time:it.content.show_time_limit
			});
		});
	}}
{{?}}
{{

     var wH=parseInt($(window).width());

}}
<div class="con_display" {{? it.content.padding}}style="padding:{{= it.content.padding}}px 0;"{{?}}>
{{? it.content.css_type==1}}
<div style="height:40px;line-height:40px;background-color:#fef7ee;border:1px solid #ffcc74;padding-left:34px;background-image:url(https://admin.bonnidee.cn/weixinpl/common_shop/common/custom_temp/images/laba01.png);background-repeat:no-repeat;background-position:10px 9px;background-size:20px 20px">
	<div id="marquee{{= it.id}}" class="marquee">
		<ul>
		{{for (var j=0,k=it.content.dataset.length;j<k;j++) { }}
			<li style="{{? it.content.rolling_direction==1}}display:inline-block;width:{{= it.content.dataset[j].title.length*16+wH-34}}px;{{?}}color:#ffaf74;"><a href="{{= it.content.dataset[j].link}}" style="color:#ffaf74;font-size:16px;">{{= it.content.dataset[j].title}}</a></li>
		{{ } }}
		</ul>
	</div>
</div>
{{?? it.content.css_type==2}}
<div style="height:40px;line-height:40px;background-color:#ffebed;border:1px solid #f7929c;padding-left:34px;background-image:url(https://admin.bonnidee.cn/weixinpl/common_shop/common/custom_temp/images/laba02.png);background-repeat:no-repeat;background-position:10px 9px;background-size:20px 20px">
	<div id="marquee{{= it.id}}" class="marquee">
		<ul>
		{{for (var j=0,k=it.content.dataset.length;j<k;j++) { }}
			<li style="{{? it.content.rolling_direction==1}}display:inline-block;width:{{= it.content.dataset[j].title.length*16+wH-34}}px;{{?}}color:#db8089;"><a href="{{= it.content.dataset[j].link}}" style="color:#db8089;font-size:16px;">{{= it.content.dataset[j].title}}</a></li>
		{{ } }}
		</ul>
	</div>
</div>
{{?? it.content.css_type==3}}
<div style="height:40px;line-height:40px;background-color:#f6fee7;border:1px solid #b4e14d;padding-left:34px;background-image:url(https://admin.bonnidee.cn/weixinpl/common_shop/common/custom_temp/images/laba03.png);background-repeat:no-repeat;background-position:10px 9px;background-size:20px 20px">
	<div id="marquee{{= it.id}}" class="marquee">
		<ul>
		{{for (var j=0,k=it.content.dataset.length;j<k;j++) { }}
			<li style="{{? it.content.rolling_direction==1}}display:inline-block;width:{{= it.content.dataset[j].title.length*16+wH-34}}px;{{?}}color:#aec181;"><a href="{{= it.content.dataset[j].link}}" style="color:#aec181;font-size:16px;">{{= it.content.dataset[j].title}}</a></li>
		{{ } }}
		</ul>
	</div>
</div>
{{?? it.content.css_type==4}}
<div style="height:40px;line-height:40px;background-color:#dff9ff;border:1px solid #78c3d4;padding-left:34px;background-image:url(https://admin.bonnidee.cn/weixinpl/common_shop/common/custom_temp/images/laba04.png);background-repeat:no-repeat;background-position:10px 9px;background-size:20px 20px">
	<div id="marquee{{= it.id}}" class="marquee">
		<ul>
		{{for (var j=0,k=it.content.dataset.length;j<k;j++) { }}
			<li style="{{? it.content.rolling_direction==1}}display:inline-block;width:{{= it.content.dataset[j].title.length*16+wH-34}}px;{{?}}color:#8ac4d1;"><a href="{{= it.content.dataset[j].link}}" style="color:#8ac4d1;font-size:16px;">{{= it.content.dataset[j].title}}</a></li>
		{{ } }}
		</ul>
	</div>
</div>
{{?? it.content.css_type==5}}
<div style="height:40px;line-height:40px;background-color:#fcecff;border:1px solid #efabff;padding-left:34px;background-image:url(https://admin.bonnidee.cn/weixinpl/common_shop/common/custom_temp/images/laba05.png);background-repeat:no-repeat;background-position:10px 9px;background-size:20px 20px">
	<div id="marquee{{= it.id}}" class="marquee">
		<ul>
		{{for (var j=0,k=it.content.dataset.length;j<k;j++) { }}
			<li style="{{? it.content.rolling_direction==1}}display:inline-block;width:{{= it.content.dataset[j].title.length*16+wH-34}}px;{{?}}color:#d69be4;"><a href="{{= it.content.dataset[j].link}}" style="color:#d69be4;font-size:16px;">{{= it.content.dataset[j].title}}</a></li>
		{{ } }}
		</ul>
	</div>
</div>
{{?}}
</div>
</script>
<!--头部引导页-->
<script type="text/j-template" id="type_con_14">
<div class="con_display" {{? it.content.padding}}style="padding:{{= it.content.padding}}px 0;"{{?}}>
	<nav class="headguide_nav" style="background-image:url(../common/custom_temp/images/headguide_bg.png);">
		<div class="navright">
				<div class="checkbg" onclick="subscribe()">+关注</div>
						<img src="../common/custom_temp/images/edit_banner.png" onclick="headguide_edit()">
				</div>
				<div class="navportrait">
			<div class="headportrait">
				<div class="navimg">
					<img src="" alt="">
				</div>
			</div>
			<div class="navdescribe">
				<span style="color: #ffffff;"></span>
				<div class="navtag" style="color: #ffffff;"></div>
				<p class="navintroduce" style="color: #ffffff;"></p>
			</div>
		</div>
		<div class="bian"></div>
		<div class="contacttypediv">
			<div class="qtypebtu" onclick="show_contact(1)">
				<img src="../common/custom_temp/images/qqw.png" alt=""><span>QQ</span>
			</div>
			<div class="wtypebtu" onclick="show_contact(2)">
				<img src="../common/custom_temp/images/weixinw.png" alt=""><span>微信</span>
			</div>
			<div class="ptypebtu" onclick="show_contact(3)">
				<img src="../common/custom_temp/images/dianhuaw.png" alt=""><span>电话</span>
			</div>
		</div>
	</nav>
	<div class="showcontent" id="qqshowdetil">
		<ul style="width: 240px;margin: 0 auto;">
				</ul>
	</div>
	<div class="showcontent" id="weixinshowdetil">
		<ul style="width: 240px;margin: 0 auto;">
				</ul>
	</div>
	<div class="showcontent" id="phoneshowdetil">
		<ul style="width:240px;margin:0 auto;">
				</ul>
	</div>
</div>
</script>
<!-- 头像插件 -->
<script type="dot-template" id="type_con_15">
    <div id='con_15' style='height:42px;display:none'></div>
    <div class="con_display" style="{{? it.content.padding}}padding-top:{{= it.content.padding}}px;padding-bottom:{{= it.content.padding}}px;{{?}}">
        <div class="search-box-1" style='background-color:{{= it.content.bg_color}}'>

            <div class="search-layer-1" style='height:50px;border:none;width: 100%;'>
                <div style='box-shadow: 0px 1px 1px #F7F7F7;width:100%;height:100%;background-color:{{= it.content.bg_color}};'>
                    <div style='width:86px;height:86px;top:-43px;position:absolute;left:17px;filter:alpha(Opacity=30);-moz-opacity:0.3;opacity: 0.3;background-color: #ECE7E7;{{? it.content.pro_title_show==1 }} border-radius: 50%;{{??}}border-radius: 5px;{{?}}'>
                    </div>
                        <img src="{{= it.content.dataset[0].pic}}" style='width:80px;height:80px;top:-40px;position:absolute;left:20px;{{? it.content.pro_title_show==1 }} border-radius: 50%;{{??}}border-radius: 5px;{{?}}' alt=""  class='br'>
                    <div style='margin-left:10px;display:inline-block;position: absolute;left: 100px;color:{{= it.content.color}};top:17.5px;font-size:15px;white-space:nowrap;' class='search-input'>{{= it.content.placeholder}}</div>
                </div>
            </div>
        </div>
    </div>
</script>
<!--线下店铺-->
<script type="dot-template" id="type_con_16">
<div class="con_display" {{? it.content.padding}}style="padding-top:{{= it.content.padding}}px;padding-bottom:{{= it.content.padding}}px;background:#f8f8f8 !important;"{{?}}>
<div class="floor clearfix" style="background:#f8f8f8;">
	{{ for(var i=0,l=it.shoplist.shopdata.length;i<l;i++) { }}
		<div class="shop-content">
          	<div class="shop-url"  shop-id="{{=it.shoplist.shopdata[i].shop_id}}">
				<img src="{{=it.shoplist.shopdata[i].logo}}" />
	                {{? it.shoplist.shopdata[i].label_image!='' && it.shoplist.shopdata[i].label_image!=null }}
						      <img class="shop-logo radius3 small" src=" {{= it.shoplist.shopdata[i].label_image }}">
	                     {{? }}
	                {{? it.shoplist.shopdata[i].is_sharecard == 1 }}
	                         <img class="shop-logo radius3" style="position: absolute;left: 10px;top:10px;width: 45px;height: 45px;" src="../../city_area/shop/images/sharecard_image/sharecard_icon.png">
	                    {{? }}

				<div class="shop-info">
					<p class="shop-name">{{=it.shoplist.shopdata[i].shop_name}}</p>
					<div class="star-grade">
						<div class="star">
								<div class="select" style="width:{{=it.shoplist.shopdata[i].evaluationAvg*20}}%;">
									<div class="star2"></div>
								</div>
							</div>
						<span class="pf">{{=it.shoplist.shopdata[i].evaluationAvg}}分</span>
					</div>
	                        {{? it.shoplist.shopdata[i].label_image2!='' && it.shoplist.shopdata[i].label_image2!=null }}
	                           <img src="{{=it.shoplist.shopdata[i].label_image2}}" class="span-img">
	                        {{? }}
					<p class="p3">
						<span class="condition01">
						￥						{{=it.shoplist.shopdata[i].starting_fee}}
												起配送</span>
						{{? it.content.show_sale == 1}}
							<span class="condition02">已售{{=it.shoplist.shopdata[i].sell_count}}</span>
						{{? }}
						<span class="condition03">{{=it.shoplist.shopdata[i].distance}}</span>
					</p>
				</div>
			</div>
            {{? it.shoplist.shopdata[i].pay_admin == 1 && it.shoplist.shopdata[i].pay_owner == 1 }}
                <div class="line"></div>
	                <div class="shop-action" shop-id="{{=it.shoplist.shopdata[i].shop_id}}">
	                    <div style="display:none;">
	                        <div class="icon"><span class="tuan">团</span></div>
	                        <div class="content line-end-point">欢唱套餐！节假日通用！</div>
	                </div>
                    <div class="clear"></div>
                    <div>
                        <div class="icon"><span class="daodianfu">到店付</span></div>
                        <div class="open-shop content line-end-point" shop-id="{{=it.shoplist.shopdata[i].shop_id}}"></div>
                        <div class="arrow"></div>
                    </div>
          		</div>
            {{? }}
		</div>

    {{ } }}

</script>

<!--线下商铺js-->
<script>
 $(function(){
		var imgWidth = $('.shop-content img').width();
		var pHeight = (imgWidth-5)/3;
		$('.shop-content img').css('height',imgWidth+'px');
		$('.shop-info p ,.star-grade').css('height',pHeight+'px');
		$('.shop-info p ,.star-grade').css('line-height',pHeight+'px');


	})
</script>
<!-- <script type="text/javascript" src="../common/custom_temp/js/jquery-1.12.1.min.js"></script> -->
<script type="text/javascript" src="./index_files/global.js(1).下载"></script>
<script type="text/javascript" src="./index_files/doT.min.js.下载"></script>
<script type="text/javascript" src="./index_files/custom.core.js.下载"></script>
<!-- <script type="text/javascript" src="../common/custom_temp/js/jquery-ui.min.js"></script> -->
<script type="text/javascript" src="./index_files/jquery.touchSlider.js.下载"></script>
<script type="text/javascript" src="./index_files/slider.js.下载"></script>
<script type="text/javascript" src="./index_files/Marquee.js.下载"></script>
<!-- <script type="text/javascript" src="../common/custom_temp/js/jquery.lazyload.js"></script> -->
<!-- <script type="text/javascript" src="../common/custom_temp/js/region_select.js"></script> -->
<!--<script type="text/javascript" src="../../common/js/lbs_select.js"></script>-->
<script src="./index_files/api" type="text/javascript"></script><script type="text/javascript" src="./index_files/getscript"></script><link rel="stylesheet" type="text/css" href="./index_files/bmaps.css">
<script type="text/javascript" src="./index_files/jweixin-1.3.0.js.下载"></script>
<script type="text/javascript" src="./index_files/geolocation.min.js.下载"></script>

<script type="text/javascript"> 
	var key = 'KVLBZ-LJUKF-LGQJZ-J2IGO-FGNF5-XCBJH'; 
	var from_type_mini = '-1'; 
	var is_weixin = check_weixin();
	var location_info = new Array(); 
	//给变量location_info赋值
	
	/*//调试输出
	if(window.ActiveXObject || "ActiveXObject" in window){
		//...
	}else{
		console.log(location_info);
		//alert(mydump(location_info));
	}*/

	//判断是否微信浏览器
	function check_weixin(){
		if( navigator.userAgent.toLowerCase().indexOf('micromessenger') > -1 || typeof navigator.wxuserAgent !== "undefined" ) {
			return true;
		}
		if( typeof WeixinJSBridge !== "undefined" ) {
			return true;
		}
	}

	//获取xy坐标
	function getLocation(is_tx){
		if( is_weixin && !is_tx ){
			//方式一: 微信sdk定位
			wx.config({
				debug: false,
				appId: 'wx1c9a8f15f70c28b1',
				timestamp: '1521181779',
				nonceStr: 'DVyUzuSDfRHrHbBv',
				signature: 'e92f86d5b55d6824d4e017f94835dabaf79fa759',
				jsApiList: [
					'getLocation'
				]
			});

			wx.ready(function () {
				wx.getLocation({
					type: 'gcj02',			//火星坐标，高德、谷歌、腾讯通用坐标系
					success: function (res) {
						location_info['lat'] = res.latitude;
						location_info['lng'] = res.longitude;
						// alert(JSON.stringify(res))
						golocation()
					},
					error: function(){
						alert('网络异常，定位失败！');
					},
					cancel: function (res) {
						alert('用户拒绝授权获取地理位置');
					}
				});
			})
		}else if(from_type_mini <=0){
			//方式二: 腾讯地图定位
			var count = 0;
			var geolocation = new qq.maps.Geolocation(key, "mapqq");
			var options={
				timeout:10000,           //定位的超时时间，默认值为10s
				failTipFlag:true		 //是否在定位失败时给出提示引导用户打开授权或打开定位开关
			};
			geolocation.getLocation(locationSuccess, locationError, options);
			function locationSuccess(res){
				count++;
				location_info['lat'] = res.lat;
				location_info['lng'] = res.lng;
				location_info['nation'] = res.nation;
				location_info['province'] = res.province;
				location_info['city'] = res.city;
				location_info['addr'] = res.addr;
				console.log(count)
				if( count <= 2){
					golocation()
				}
			}
			function locationError(){
				count++;
				console.log('网络异常，定位失败！')
				geolocation.getIpLocation(locationSuccess)
				// alert('网络异常，定位失败！');
			}
		}else{
			wx.miniProgram.redirectTo({url:'?fun=position&backurl=https%3A%2F%2Fadmin.bonnidee.cn%2Fweixinpl%2Fcommon_shop%2Fjiushop%2Findex.php'});
		}
	}

	//输出js对象调试
	function mydump(arr,level) {
		var dumped_text = "";
		if(!level) level = 0;
		var level_padding = "";
		for(var j=0;j<level+1;j++) level_padding += "    ";

		if(typeof(arr) == 'object') {
			for(var item in arr) {
				var value = arr[item];
				if(typeof(value) == 'object') {
					dumped_text += level_padding + "'" + item + "' ...\n";
					dumped_text += dump(value,level+1);
				} else {
					dumped_text += level_padding + "'" + item + "' => \"" + value + "\"\n";
				}
			}
		} else {
			dumped_text = "===>"+arr+"<===("+typeof(arr)+")";
		}
		return dumped_text;
	}


</script><script>
    var customer_id =47;
    var customer_id_en ='ATNWYw==';
    var diy_temid   =30;
	var default_img   ="../common/custom_temp/images/loading.gif"; //异步加载默认图片
	var weixin_contact_num = '0';	//微信联系人个数
	var qq_contact_num = '0';	//QQ联系人个数
	var phone_contact_num = '0';	//电话联系人个数
	var exp_user_id = '-1';
	// var oauth = '';
	var url_type = 1;
	var bottomMenu = 1	//控制底部菜单栏显示，0：不显示，1显示

	//模拟滚动滚动条，处理app图片不能加载问题
	// window.onload = function () {
		// setTimeout(function () {
			// $(window).scrollTop(1);
			// setTimeout(function () {
				// $(window).scrollTop(0);
			// }, 100);
		// }, 100);
	// }


$(function() {
    // var typearr     =null; //分类链接
    var customarr   =[{"diy_tem_contid":"20171114155921820","title":"LBS\u5b9a\u4f4d|","imgurl":"|","mod_padding":"0","mod_img_padding":"0","foreign_id":"-1","css_type":"2","pro_title_show":"0","pro_title_twoline":"0","pro_numshow":"2","foot_position":"1","placeholder":"\u8bf7\u8f93\u5165\u641c\u7d22\u5173\u952e\u5b57","show_sale":"0","type":"11","link":"Resource id #3","bg_color":"#fff","color":"#ffffff","video_link":"","rolling_direction":"0","rolling_speed":"","show_time_limit":"","city_name":"","start_time":"","end_time":"","shop_type":"0","sort_type":"0","divide_type":"0"},{"diy_tem_contid":"2017111417247723","title":"\u9996\u9875|\u884c\u7a0b|\u53d1\u73b0|\u4e2a\u4eba|","imgurl":"\/weixinpl\/up\/1\/47\/Custom\/1510651704.jpg|\/weixinpl\/up\/1\/47\/Custom\/1510650757.jpg|\/weixinpl\/up\/1\/47\/Custom\/1510650775.jpg|\/weixinpl\/up\/1\/47\/Custom\/1510650783.jpg|","mod_padding":"0","mod_img_padding":"0","foreign_id":"-1","css_type":"0","pro_title_show":"1","pro_title_twoline":"0","pro_numshow":"2","foot_position":"1","placeholder":"","show_sale":"0","type":"6","link":"index.php?customer_id=V2UGMw==|..\/..\/mshop\/list.php?customer_id=V2UGMw==|index.php?customer_id=V2UGMw==&diy_template_id=44|..\/..\/mshop\/personal_center.php?customer_id=V2UGMw==","bg_color":"","color":"#000|#000|#000|#000|","video_link":"","rolling_direction":"0","rolling_speed":"","show_time_limit":"","city_name":"","start_time":"","end_time":"","shop_type":"0","sort_type":"0","divide_type":"0"},{"diy_tem_contid":"2017116172715255","title":"||\u56fe\u7247||","imgurl":"\/weixinpl\/up\/1\/47\/Custom\/1512107537.jpg|\/weixinpl\/up\/1\/47\/Custom\/1510714837.jpg|\/weixinpl\/up\/1\/47\/Custom\/1510714842.jpg|\/weixinpl\/up\/1\/47\/Custom\/1510714845.jpg|","mod_padding":"0","mod_img_padding":"0","foreign_id":"-1","css_type":"1","pro_title_show":"0","pro_title_twoline":"0","pro_numshow":"2","foot_position":"1","placeholder":"","show_sale":"0","type":"2","link":"..\/..\/mshop\/list.php?customer_id=UmBRZA==&tid=371|..\/..\/mshop\/list.php?customer_id=UmBRZA==&tid=250|..\/..\/mshop\/list.php?customer_id=UmBRZA==&tid=290|javascript:","bg_color":"","color":"","video_link":"","rolling_direction":"0","rolling_speed":"","show_time_limit":"","city_name":"","start_time":"","end_time":"","shop_type":"0","sort_type":"0","divide_type":"0"},{"diy_tem_contid":"2017116172752729","title":"\u5c3e\u5355|\u6cf0\u56fd|\u65e5\u672c|\u6d77\u5c9b|\u6b27\u7f8e|","imgurl":"\/weixinpl\/up\/1\/47\/Custom\/1512115343.jpg|\/weixinpl\/up\/1\/47\/Custom\/1512115731.jpg|\/weixinpl\/up\/1\/47\/Custom\/1512115702.jpg|\/weixinpl\/up\/1\/47\/Custom\/1512115735.jpg|\/weixinpl\/up\/1\/47\/Custom\/1512115738.jpg|","mod_padding":"10","mod_img_padding":"0","foreign_id":"-1","css_type":"0","pro_title_show":"1","pro_title_twoline":"0","pro_numshow":"2","foot_position":"1","placeholder":"","show_sale":"0","type":"3","link":"..\/..\/mshop\/list.php?customer_id=ATNabw==&tid=373|index.php?customer_id=ATNabw==&diy_template_id=50|index.php?customer_id=ATNabw==&diy_template_id=51|index.php?customer_id=ATNabw==&diy_template_id=52|index.php?customer_id=ATNabw==&diy_template_id=54","bg_color":"","color":"#000|#000|#000|#000|#000|","video_link":"","rolling_direction":"0","rolling_speed":"","show_time_limit":"","city_name":"","start_time":"","end_time":"","shop_type":"0","sort_type":"0","divide_type":"0"},{"diy_tem_contid":"2017116172930494","title":"\u6fb3\u65b0|\u90ae\u8f6e|\u51fa\u5883|\u56fd\u5185|\u66f4\u591a|","imgurl":"\/weixinpl\/up\/1\/47\/Custom\/1512115751.jpg|\/weixinpl\/up\/1\/47\/Custom\/1512115978.jpg|\/weixinpl\/up\/1\/47\/Custom\/1512115985.jpg|\/weixinpl\/up\/1\/47\/Custom\/1512115989.jpg|\/weixinpl\/up\/1\/47\/Custom\/1511319464.jpg|","mod_padding":"10","mod_img_padding":"0","foreign_id":"-1","css_type":"0","pro_title_show":"1","pro_title_twoline":"0","pro_numshow":"2","foot_position":"1","placeholder":"","show_sale":"0","type":"3","link":"index.php?customer_id=DT9RZA==&diy_template_id=56|index.php?customer_id=DT9RZA==&diy_template_id=57|index.php?customer_id=DT9RZA==&diy_template_id=58|index.php?customer_id=DT9RZA==&diy_template_id=37|index.php?customer_id=DT9RZA==&diy_template_id=46","bg_color":"","color":"#000|#000|#000|#000|#000|","video_link":"","rolling_direction":"0","rolling_speed":"","show_time_limit":"","city_name":"","start_time":"","end_time":"","shop_type":"0","sort_type":"0","divide_type":"0"},{"diy_tem_contid":"201712116188861","title":"\u5206\u5272\u7ebf|","imgurl":"\/weixinpl\/up\/1\/47\/Custom\/1512352193.jpg|","mod_padding":"0","mod_img_padding":"0","foreign_id":"-1","css_type":"0","pro_title_show":"0","pro_title_twoline":"0","pro_numshow":"2","foot_position":"1","placeholder":"","show_sale":"0","type":"7","link":"javascript:","bg_color":"","color":"","video_link":"","rolling_direction":"0","rolling_speed":"","show_time_limit":"","city_name":"","start_time":"","end_time":"","shop_type":"0","sort_type":"0","divide_type":"0"},{"diy_tem_contid":"20171114163028944","title":"\u5206\u5272\u7ebf|","imgurl":"\/weixinpl\/up\/1\/47\/Custom\/1511319880.jpg|","mod_padding":"0","mod_img_padding":"0","foreign_id":"-1","css_type":"0","pro_title_show":"0","pro_title_twoline":"0","pro_numshow":"2","foot_position":"1","placeholder":"","show_sale":"0","type":"7","link":"javascript:","bg_color":"","color":"","video_link":"","rolling_direction":"0","rolling_speed":"","show_time_limit":"","city_name":"","start_time":"","end_time":"","shop_type":"0","sort_type":"0","divide_type":"0"},{"diy_tem_contid":"20171122105854504","title":"\u56fe\u7247\u4e00|\u56fe\u7247\u4e8c|\u56fe\u7247\u4e09|","imgurl":"\/weixinpl\/up\/1\/47\/Custom\/1511345144.jpg|\/weixinpl\/up\/1\/47\/Custom\/1511345205.jpg|\/weixinpl\/up\/1\/47\/Custom\/1511345212.jpg|","mod_padding":"0","mod_img_padding":"0","foreign_id":"-1","css_type":"1","pro_title_show":"0","pro_title_twoline":"0","pro_numshow":"2","foot_position":"1","placeholder":"","show_sale":"0","type":"4","link":"\/mshop\/web\/index.php?m=sign&a=index&customer_id=UmBSZw==|..\/..\/mshop\/coupons_center.php?customer_id=UmBSZw==|javascript:","bg_color":"","color":"","video_link":"","rolling_direction":"0","rolling_speed":"","show_time_limit":"","city_name":"","start_time":"","end_time":"","shop_type":"0","sort_type":"0","divide_type":"0"},{"diy_tem_contid":"201711221115697","title":"\u56fe\u7247\u4e00|\u56fe\u7247\u4e8c|\u56fe\u7247\u4e09|","imgurl":"\/weixinpl\/up\/1\/47\/Custom\/1511345389.jpg|\/weixinpl\/up\/1\/47\/Custom\/1511345240.jpg|\/weixinpl\/up\/1\/47\/Custom\/1511345251.jpg|","mod_padding":"0","mod_img_padding":"0","foreign_id":"-1","css_type":"1","pro_title_show":"0","pro_title_twoline":"0","pro_numshow":"2","foot_position":"1","placeholder":"","show_sale":"0","type":"4","link":"javascript:|javascript:|javascript:","bg_color":"","color":"","video_link":"","rolling_direction":"0","rolling_speed":"","show_time_limit":"","city_name":"","start_time":"","end_time":"","shop_type":"0","sort_type":"0","divide_type":"0"},{"diy_tem_contid":"201711141681649","title":"\u5206\u5272\u7ebf|","imgurl":"\/weixinpl\/up\/1\/47\/Custom\/1511336234.jpg|","mod_padding":"0","mod_img_padding":"0","foreign_id":"-1","css_type":"0","pro_title_show":"0","pro_title_twoline":"0","pro_numshow":"2","foot_position":"1","placeholder":"","show_sale":"0","type":"7","link":"javascript:","bg_color":"","color":"","video_link":"","rolling_direction":"0","rolling_speed":"","show_time_limit":"","city_name":"","start_time":"","end_time":"","shop_type":"0","sort_type":"0","divide_type":"0"},{"diy_tem_contid":"2018113201216553","title":"\u56fe\u7247|","imgurl":"\/weixinpl\/up\/1\/47\/Custom\/1515845554.jpg|","mod_padding":"0","mod_img_padding":"0","foreign_id":"-1","css_type":"1","pro_title_show":"0","pro_title_twoline":"0","pro_numshow":"2","foot_position":"1","placeholder":"","show_sale":"0","type":"2","link":"..\/..\/mshop\/product_detail.php?customer_id=UWMGMw==&pid=241","bg_color":"","color":"","video_link":"","rolling_direction":"0","rolling_speed":"","show_time_limit":"","city_name":"","start_time":"","end_time":"","shop_type":"0","sort_type":"0","divide_type":"0"},{"diy_tem_contid":"2018113201245378","title":"\u56fe\u7247|","imgurl":"\/weixinpl\/up\/1\/47\/Custom\/1515845576.jpg|","mod_padding":"0","mod_img_padding":"0","foreign_id":"-1","css_type":"1","pro_title_show":"0","pro_title_twoline":"0","pro_numshow":"2","foot_position":"1","placeholder":"","show_sale":"0","type":"2","link":"..\/..\/mshop\/product_detail.php?customer_id=DT9abw==&pid=326","bg_color":"","color":"","video_link":"","rolling_direction":"0","rolling_speed":"","show_time_limit":"","city_name":"","start_time":"","end_time":"","shop_type":"0","sort_type":"0","divide_type":"0"},{"diy_tem_contid":"2018113201344466","title":"\u56fe\u7247|","imgurl":"\/weixinpl\/up\/1\/47\/Custom\/1515845633.jpg|","mod_padding":"0","mod_img_padding":"0","foreign_id":"-1","css_type":"1","pro_title_show":"0","pro_title_twoline":"0","pro_numshow":"2","foot_position":"1","placeholder":"","show_sale":"0","type":"2","link":"..\/..\/mshop\/product_detail.php?customer_id=AjBTZg==&pid=252","bg_color":"","color":"","video_link":"","rolling_direction":"0","rolling_speed":"","show_time_limit":"","city_name":"","start_time":"","end_time":"","shop_type":"0","sort_type":"0","divide_type":"0"},{"diy_tem_contid":"2018113201311344","title":"\u56fe\u7247|","imgurl":"\/weixinpl\/up\/1\/47\/Custom\/1515845607.jpg|","mod_padding":"0","mod_img_padding":"0","foreign_id":"-1","css_type":"1","pro_title_show":"0","pro_title_twoline":"0","pro_numshow":"2","foot_position":"1","placeholder":"","show_sale":"0","type":"2","link":"..\/..\/mshop\/product_detail.php?customer_id=BDZSZw==&pid=300","bg_color":"","color":"","video_link":"","rolling_direction":"0","rolling_speed":"","show_time_limit":"","city_name":"","start_time":"","end_time":"","shop_type":"0","sort_type":"0","divide_type":"0"},{"diy_tem_contid":"2018113201427776","title":"\u56fe\u7247|","imgurl":"\/weixinpl\/up\/1\/47\/Custom\/1515845672.jpg|","mod_padding":"0","mod_img_padding":"0","foreign_id":"-1","css_type":"1","pro_title_show":"0","pro_title_twoline":"0","pro_numshow":"2","foot_position":"1","placeholder":"","show_sale":"0","type":"2","link":"..\/..\/mshop\/product_detail.php?customer_id=BjQCNw==&pid=337","bg_color":"","color":"","video_link":"","rolling_direction":"0","rolling_speed":"","show_time_limit":"","city_name":"","start_time":"","end_time":"","shop_type":"0","sort_type":"0","divide_type":"0"}];//模块内容
	// var imginfoLst  =null;//图文消息数组
	// var typeLst   	=null;//分类数组
	// var fixedlink   =null;//固定连接数组
    var new_baseurl   ="https://admin.bonnidee.cn";//固定链接前缀
	var local_city_name	= '上海市';
	var now_time = '1521181779';
	proarr="";
    var test = eval(customarr);//   JSON转化为数组
    var city_name_auto = '上海市';
    var isused 	= '1';
	var is_locate = '';

	var microsshop_name = ``;
	var user_weixin_headimgurl = '';
	var status = '';

 //读取数据库数组生成页面
 try{
    for(i=0;i<test.length;i++)
    {
		if( test[i].type == 6 && bottomMenu == 0 ){
			continue;
		}
        var module={
                id:null,//模块ID
                type:null,//模块类型
                sort:null, //排序
                content:null,//模块内容
				product:null,//产品
				shoplist:null//店铺列表
          };
          module.content={
                css_type:null,
                placeholder:null,
                padding:null,
                margin:null,
                pro_title_show:null,
                pro_title_twoline:null,
                pro_numshow:null,
                show_sale:null,
                foot_position:null,
                video_link:null,
				bg_color:null,
				color:null,
				rolling_direction:null,
				rolling_speed:null,
				show_time_limit:null,
				city_name:null,
                dataset:[],
                shop_type:null,
                sort_type:null,
                divide_type:null
			};
		 	module.product={
                prodata:[]

                };
            module.shoplist={
                shopdata:[]

                };
            var titleArr=test[i].title.split("|");//拆出数组
            var imgArr=test[i].imgurl.split("|");
			var linkArr=test[i].link.split("|");
			var colorArr=test[i].color.split("|");

			if(test[i].start_time){
				var start_time_arr=test[i].start_time.split("|");
			}
			if(test[i].end_time){
				var end_time_arr=test[i].end_time.split("|");
			}
            console.log(test[i].end_time+'one');
         module.id=test[i].diy_tem_contid;
         module.type=test[i].type;
         module.content.css_type=test[i].css_type;
         module.content.placeholder=test[i].placeholder;
         module.content.padding=test[i].mod_padding;
         module.content.margin=test[i].mod_img_padding;
         module.content.pro_title_show=test[i].pro_title_show;
         module.content.pro_title_twoline=test[i].pro_title_twoline;
         module.content.pro_numshow=test[i].pro_numshow;
		 module.content.foreign_id=test[i].foreign_id;
         module.content.show_sale=test[i].show_sale;
         module.content.foot_position=test[i].foot_position;
         module.content.video_link=test[i].video_link;
		 module.content.bg_color=test[i].bg_color;
		 module.content.color=test[i].color;
		 module.content.rolling_direction=test[i].rolling_direction;
		 module.content.rolling_speed=test[i].rolling_speed;
		 module.content.show_time_limit=test[i].show_time_limit;
		 module.content.city_name=test[i].city_name;
		 module.content.now_time=now_time;
		 module.content.is_show=false;
		 module.content.shop_type=test[i].shop_type;
		 module.content.sort_type=test[i].sort_type;
		 module.content.divide_type=test[i].divide_type;
		 console.log(module.type,city_name_auto,is_locate);
		 if((module.type == 11 || module.type == 16) && city_name_auto == '' && is_locate!=1 ){
            $('#loading').show();
            $('#zhezhao_loc').show();
			getLocation(1);
		 }
		 if( microsshop_name && test[i].type==15 ){
        	module.content.placeholder=microsshop_name;
		 }

         for(j=0;j<titleArr.length-1;j++)
           {
            var newdata={
                    mod_sort:null,
                    link:"",
                    title:"",
                    color:"",
                    pic:"",
                    foreign_id:'',
                    detail_id:'',
                    start_time:'',
                    end_time:'',
					is_show: false
                };
            module.content.dataset.push(newdata);
            module.content.dataset[j].title=titleArr[j];
			module.content.dataset[j].link=linkArr[j];
			module.content.dataset[j].color=colorArr[j];
			if(!(module.content.dataset[j].link)){

				module.content.dataset[j].link="javascript:#;";
			}
            var picUrl=new_baseurl+imgArr[j];
            if(picUrl.indexOf("weixinpl")>0){ //默认图片输出defUrl
                module.content.dataset[j].pic=picUrl;
            }else{
                var defUrl=new_baseurl+"/weixinpl/common_shop/common/custom_temp/"+imgArr[j];
                module.content.dataset[j].pic=defUrl;
            }
            if( test[i].type==15 && status==1 && user_weixin_headimgurl ){
            	module.content.dataset[j].pic=user_weixin_headimgurl;
            }
			if(module.type == 12){
				if(start_time_arr[j]==''){
					module.content.dataset[j].start_time = 0;
                    console.log(start_time_arr[j]+'aaa');

				}else{
					// var timestamp = Date.parse(new Date(start_time_arr[j]+''));
					var timestamp = dateToTime(start_time_arr[j]);
					timestamp = parseInt(timestamp) / 1000;
					module.content.dataset[j].start_time=timestamp;
                    console.log(start_time_arr[j]+'aaa');

				}

				if(end_time_arr[j]==''){
					module.content.dataset[j].end_time=parseInt(now_time) + 3600;
				}else{
					// var timestamp2 = Date.parse(new Date(end_time_arr[j]));
					var timestamp2 = dateToTime(end_time_arr[j]);
					timestamp2 = parseInt(timestamp2) / 1000;
					module.content.dataset[j].end_time=timestamp2;
				}

				if(module.content.dataset[j].pic != '' && module.content.dataset[j].start_time<=now_time && module.content.dataset[j].end_time>=now_time && module.content.city_name == local_city_name){
					module.content.is_show = true;
					module.content.dataset[j].is_show = true;
				}

			}

        }
		if(module.type==5){
			if (module.content.shop_type == 0){
                console.log("foreign_id="+module.content.foreign_id);
				data=getproduct_custom(module.content.pro_numshow,module.content.foreign_id);
				if(data){
					for(k=0;k<data.length;k++){
						var newpro={
							pid:null,
							name:null,
							default_imgurl:null,
							now_price:null,
							orgin_price:null,
							count:null
						};
						module.product.prodata.push(newpro);
						module.product.prodata[k].pid=data[k].pid;
						module.product.prodata[k].name=data[k].name;
						module.product.prodata[k].default_imgurl=data[k].default_imgurl;
						module.product.prodata[k].now_price=data[k].now_price;
						module.product.prodata[k].orgin_price=data[k].orgin_price;
						module.product.prodata[k].count=data[k].count;

					}
				}
			}else if(module.content.shop_type == 1){
				data=get_cityarea_shop_product_custom(module.content.pro_numshow,module.content.foreign_id,module.content.divide_type);
				if(data){
					for(k=0;k<data.length;k++){
						var newpro={
							pid:null,
							name:null,
							default_imgurl:null,
							now_price:null,
							orgin_price:null,
							count:null,
							cityarea_id:-1,
							is_sharecard:0
						};
						module.product.prodata.push(newpro);
						module.product.prodata[k].pid=data[k].pid;
						module.product.prodata[k].name=data[k].name;
						module.product.prodata[k].default_imgurl=data[k].default_imgurl;
						module.product.prodata[k].now_price=data[k].now_price;
						module.product.prodata[k].orgin_price=data[k].orgin_price;
						module.product.prodata[k].count=data[k].count;
						module.product.prodata[k].cityarea_id=data[k].cityarea_id;
						module.product.prodata[k].is_sharecard=data[k].is_sharecard;
					}
				}
			}


		}

		if(module.type==16){
			data=get_cityarea_shop_custom(module.content.pro_numshow,module.content.sort_type,module.content.foreign_id);
			if(data){
				for(k=0;k<data['count'];k++){
					var newpro={
						shop_id:null,
						logo:null,
						label_image:null,
						is_sharecard:null,
						shop_name:null,
						evaluationAvg:null,
						label_image2:null,
						starting_fee:null,
						sell_count:null,
						distance:null,
						pay_admin:null,
						pay_owner:null
					};
					module.shoplist.shopdata.push(newpro);
					module.shoplist.shopdata[k].shop_id=data[k].shop_id;
					module.shoplist.shopdata[k].label_image2=data[k].label_image2;
					module.shoplist.shopdata[k].label_image=data[k].label_image;
					module.shoplist.shopdata[k].shop_name=data[k].shop_name;
					module.shoplist.shopdata[k].logo=data[k].logo;
					module.shoplist.shopdata[k].distance=data[k].distance;
					module.shoplist.shopdata[k].pay_admin=data[k].pay_admin;
					module.shoplist.shopdata[k].pay_owner=data[k].pay_owner;
					module.shoplist.shopdata[k].starting_fee=data[k].starting_fee;
					module.shoplist.shopdata[k].evaluationAvg=data[k].evaluationAvg;
					module.shoplist.shopdata[k].sell_count=data[k].sell_count;
					module.shoplist.shopdata[k].is_sharecard=data[k].is_sharecard;

				}

				module.content.show_sale = data['is_show_sales'];
			}

		}


        custom_build(module);//生成自定义模板
    }
	var wh = $(window).width();
	$('.one_pic img').height(wh/2);

	//跳转线下商城商家首页
    $(".shop-url").unbind("click").click(function(){
        shop_id = $(this).attr("shop-id");
        window.location.href="../../city_area/shop/supply_store.php?customer_id=" + customer_id_en +"&supply_id=" + shop_id;
    });

    //跳转线下商城商家到店付界面
    $(".shop-action").unbind("click").click(function(){
        shop_id = $(this).attr("shop-id");
        window.location.href="../../city_area/pay/pay_online.php?customer_id=" + customer_id_en +"&supply_id=" + shop_id + '&user_id=DCdbaA==';
    });

	//模拟滚动滚动条
	setTimeout(function () {
		$(window).scrollTop(1);
		setTimeout(function () {
			$(window).scrollTop(0);
		}, 100);
	}, 100);

}catch(e){
	return false;
}

});
/*
 *	ios兼容问题，需要用此方法把日期转时间戳
 *	str格式：2011-11-11 11:11:11
 *	time	以毫秒为单位的时间戳
 */
function dateToTime(str){
	var new_str = str.replace(/:/g,'-');
	new_str = new_str.replace(/ /g,'-');
	var arr = new_str.split("-");
	var time = new Date(Date.UTC(arr[0],arr[1]-1,arr[2],arr[3]-8,arr[4],arr[5]));
	return time.getTime();
}
function subscribe(){	//点击关注
	showDialogImgBox("长按图中二维码，关注我吧！",'https://admin.bonnidee.cn:80/WeixinManager/qrsbig/1/20171103015033_0.jpg');
}

function headguide_edit(){	//点击编辑
	window.location.href = '../../mshop/headguide.php?customer_id=ATNWYw==';
}

function show_contact(type){	//显示联系人
	if(type == 1){
		if( qq_contact_num < 1){
			$(".dlg_content1_row2 img").css("width","30%");
			showDialogImgBox("目前还没有<br/>QQ的联系方式","../common/custom_temp/images/ku.png","知道了");
		}else{
			showDialogBox("长按复制QQ号<br/>赶紧加我QQ，和我联系吧！",$("#qqshowdetil").html(),"知道了");
		}
	}else if(type == 2){
		if( weixin_contact_num < 1){
			$(".dlg_content1_row2 img").css("width","30%");
			showDialogImgBox("目前还没有<br/>微信的联系方式","../common/custom_temp/images/ku.png","知道了");
		}else{
			showDialogBox("长按复制微信号<br/>赶紧加我微信，和我联系吧！",$("#weixinshowdetil").html(),"知道了");
		}
	}else if(type == 3){
		if( phone_contact_num < 1){
			$(".dlg_content1_row2 img").css("width","30%");
			showDialogImgBox("目前还没有<br/>电话的联系方式","../common/custom_temp/images/ku.png","知道了");
		}else{
			showDialogBox("点击电话或者短信，联系我吧！",$("#phoneshowdetil").html(),"知道了");
		}
	}
}

function getproduct_custom(pro_numshow,foreign_id){
	var op="getproduct";
	var dd="11";
	$.ajax({
			type : "POST",
			url : "getproduct_custom.php",
			async: false,
			data : {"op" : op,"pro_numshow" : pro_numshow,"foreign_id" : foreign_id},
			dataType: "json",
			success : function(result) {

				proarr=result.msg;

			}

	});
	return proarr;
}

function get_cityarea_shop_product_custom(pro_numshow,foreign_id,divide_type){
	var op="get_product_list";
	var dd="11";
	$.ajax({
			type : "POST",
			url : "get_cityarea_shop_list_custom.php",
			async: false,
			data : {"op" : op,"pro_numshow" : pro_numshow,"type_ids" : foreign_id,"divide_type" : divide_type},
			dataType: "json",
			success : function(result) {

				proarr=result;

			}

	});
	return proarr;
}

function get_cityarea_shop_custom(pro_numshow,sort_type,foreign_id){
	var op="get_shop_list";
	var get_longitue = '121.397';
	var get_latitude = '31.2494';
	$.ajax({
			type : "POST",
			url : "get_cityarea_shop_list_custom.php",
			async: false,
			data : {"op" : op,"shop_numshow" : pro_numshow,"sort_type" : sort_type,"longitude" : get_longitue,"latitude" : get_latitude,"type_ids" : foreign_id},
			dataType: "json",
			success : function(result) {
				proarr=result;

			}

	});
	return proarr;
}

function search_custom(){
	var searchname = document.getElementById("search_custom").value;
	var url="../../mshop/list.php?searchname="+searchname+"&customer_id=ATNWYw==";
	document.location = url;
}

function citynav(){
	var this_url = window.location.href;
	var Cname = '上海市';
	var Pname = '上海市';
	var Aname = '';

	var citynav_url='../../back_nowpaySystem/cashplatform/citynav.php?from_url='+this_url+'&addr_P='+Pname+'&addr_C='+Cname+'&addr_A='+Aname;
	window.location.href=citynav_url;
}

function golocation(){
	var local_province = location_info.province;
	var local_city = location_info.city;
	var local_area = '';
	var latitude = location_info.lat;
    var longitude = location_info.lng;
    var is_locate = 1;
	url='index.php?customer_id=ATNWYw==&Cname='+local_city+'&Pname='+local_province+'&Aname='+local_area+'&latitude='+latitude+'&longitude='+longitude+'&is_locate='+is_locate;
	if(exp_user_id > 0){
		url = url+"&exp_user_id="+exp_user_id;
	}
	if (diy_temid>0){
		url = url + '&diy_template_id='+diy_temid;
	}
		window.location.href=url;
}
</script>
<script type="text/javascript" src="./index_files/custom.display.js.下载"></script>

<!--自定义模板结束-->





<!----------------------限时广告图------------------------>
<!-- 判断是否有广告上架，有则查出id和广告类型 -->
<script>
	var ads_value = sessionStorage.getItem("adver");
	var ad_up_id = '';
	if(ads_value != 1 && ad_up_id){
		$("#limit-content").css("display","block");
	}else{
		$("#limit-content").css("display","none");
	}
</script>
<script type="text/javascript" src="./index_files/swiper.min.js.下载"></script>
<script type="text/javascript">
var limit_width  = $('.limit-box').width();//半屏广告宽度
$('.limit-box').height(limit_width*94/63);//半屏广告高度
$('.limit-box').css('margin-top',-limit_width*94/126);//居中
// 关闭限时广告
function limit_cloce(){
	$('.limit-content').remove();
	sessionStorage.setItem("adver", "1");
};

$('#limit-content').click(function(){
	sessionStorage.setItem("adver", "1");
});

//全屏广告轮播
var limit = new Swiper('.limit-full', {
    loop:true,
	onlyExternal:'',
    autoplay: '',//可选选项，自动滑动
    // 如果需要分页器
    pagination: '.swiper-pagination-banner',
});



function get_ads_status(id){
	var result;
	var that = this;
	$.ajax({
		 type: "POST",
		 url: "get_ads_status.php",
		 data: {ads_id:id},
		 dataType: "json",
		 success: function(data){
			that.result = data.status;

		 }
	 });

	return	that.result;
};

</script>


<style>
/*share_start*/
#share{position:fixed;bottom:62px;left:90%;width:30px;zoom:1;z-index:49;opacity: 0.8;}
#share a{
	background-image:url(/weixinpl/mshop/images/list_image/wa4.png);background-repeat:no-repeat;display:block;width:30px;height:30px;overflow:hidden;text-indent:-999px;
	background-size: cover;margin:0;
}
#share .hideicon{background-position:0 0;}
#share a.hideicon:hover{background-position:0 0;}
#share .hideicon.close{transform:rotate(180deg);-webkit-transform:rotate(180deg);opacity:1;}
#share .homepage{background-position:0 -30px;}
#share a.homepage:hover{background-position:0 -30px;}
#share .personal{background-position:0 -60px;}
#share a.personal:hover{background-position:0 -60px;}
#share .pingtuan{background-position:0 -232px;height: 30px;}
#share a.pingtuan:hover{background-position:0 -232px;}
#share .eye{background-position:0 -90px;}
#share a.eye:hover{background-position:0 -90px;}
#share .heart{background-position:0 -120px;}
#share a.heart:hover{background-position:0 -120px;}
#share .chat{background-position:0 -182px;}
#share a.chat:hover{background-position:0 -182px;}
#share .supply_chat{background-position:0 -182px;}
#share a.supply_chat:hover{background-position:0 -182px;}
#share a#totop{background-position:0 -210px;cursor:pointer;display: none;}
#share a#totop:hover{background-position:0 -210px;}
</style>
<link href="./index_files/floatingwindow.css" type="text/css" rel="stylesheet">
<script src="./index_files/floatingwindow.js.下载"></script>
<!--    <link href="/weixinpl/mshop/css/floatingwindowrem.css" type="text/css" rel="stylesheet">-->
<!--    <script src="/weixinpl/mshop/js/floatingwindowrem.js"></script>-->
		<div id="template7">
		<div class="floating-window-box7" style="opacity: 1; max-width: 90px;">
			<div class="add-show7">
				<img class="transform180" src="./index_files/icon-arroww.png">
			</div>
			<div class="floating-window-abs7" style="height: 45px; width: 45px;">
				<div class="floating-window7">
											<div id="customerService" class="icon-box7" style="display: inline-block; width: 45px; height: 45px;">
												    <a href="https://admin.bonnidee.cn/weixinpl/mshop/order_cart.php?customer_id=47" style="width: 45px; height: 45px;">
												<img src="./index_files/1516347207.png" style="width: 45px;">
						</a>
						</div>
											<div class="icon-box7" style="display: none; width: 45px; height: 45px;">
												    <a href="https://admin.bonnidee.cn/weixinpl/common_shop/jiushop/index.php?customer_id=47" style="width: 45px; height: 45px;">
												<img src="./index_files/icon2.png" style="width: 45px;">
						</a>
						</div>
											<div class="icon-box7" style="display: none; width: 45px; height: 45px;">
												    <a onclick="locatP(4);" style="width: 45px; height: 45px;">
												<img src="./index_files/icon7.png" style="width: 45px;">
						</a>
						</div>
											<div class="icon-box7" style="display: none; width: 45px; height: 45px;">
												    <a href="https://admin.bonnidee.cn/weixinpl/mshop/my_collect.php?customer_id=47" style="width: 45px; height: 45px;">
												<img src="./index_files/icon5.png" style="width: 45px;">
						</a>
						</div>
											<div class="icon-box7" style="display: none; width: 45px; height: 45px;">
												    <a href="https://admin.bonnidee.cn/weixinpl/mshop/personal_center.php?customer_id=47" style="width: 45px; height: 45px;">
												<img src="./index_files/icon3.png" style="width: 45px;">
						</a>
						</div>
											<div class="icon-box7" style="display: none; width: 45px; height: 45px;">
												    <a href="https://admin.bonnidee.cn/weixinpl/mshop/my_visit.php?customer_id=47" style="width: 45px; height: 45px;">
												<img src="./index_files/icon4.png" style="width: 45px;">
						</a>
						</div>
					
				</div>
			</div>
			<div class="pack-up7" id="packUp7" style="display: none;">
				<img class="pack-up-icon7" src="./index_files/icon-topw.png">
			</div>
		</div>
	</div>

<script src="./index_files/jweixin-1.3.0.js.下载"></script>

<script>
var is_kefu = '';
var kefu_type = '';
var need_online  ='1';	//是否开启在线客服
var online_type  ='1';	//在线客服类型 1:在线客服 2:QQ 3:多客服 4:自定义链接 5小能客服
var  is_publish = ''; //是否开启底部菜单

$(function(){

	$('.hideicon').click(function(){
		$('.all').slideToggle();
		$('.hideicon').toggleClass('close');
	})
	$("#totop").click(function(){
		$("body,html").animate({scrollTop:0},500);
	})
	$(window).scrollTop();
	$(window).scroll(function(){
		if($(window).scrollTop()>0)
		{
			$('#totop').css('display','block');
		}
		else{
			$('#totop').css('display','none');
		}
	})
})
	    function locatP(type){ // Tab Selection
			if(type == 1){
				window.location.href="/weixinpl/common_shop/jiushop/index.php?customer_id="+'ATNWYw==';
			}else if(type == 2){
				window.location.href="/weixinpl/mshop/my_visit.php?customer_id="+'ATNWYw==';
			}else if(type == 3){
				window.location.href="/weixinpl/mshop/my_collect.php?customer_id="+'ATNWYw==';
			}else if(type == 4){
				if( is_kefu == 1){		//品牌商客服
					if( kefu_type == 1){			//QQ客服
						location.href = "http://wpa.qq.com/msgrd?v=3&uin=&site=qq&menu=yes";
					}else if(kefu_type == 2){	//小能客服
						NTKF.im_openInPageChat('');
					}
				}else{					//平台，普通供应商
					if( need_online == 1){			//平台开启客服
						if(online_type == 3){		//多客服
							wx.closeWindow();
						}else if(online_type == 5){	//小能客服
							NTKF.im_openInPageChat('')
						}else {
							window.location.href="/weixinpl/online/show_online.php?customer_id=ATNWYw==";
						}
					}else{
						alert('商家未开启客服');
						return;
					}
				}

		  }else if(type == 5){
				window.location.href="/weixinpl/mshop/personal_center.php?customer_id="+'ATNWYw==';
		  }else if(type == 6){
				window.location.href="/weixinpl/mshop/collageActivities/my_collages_record_list_view.php?customer_id="+'ATNWYw==';
		  }
		}
</script>


<style type="text/css">		
	
	
	.sar-closex{color: #ffffff;line-height: 40px;font-size: 1.6rem;}
	.sar-theader{position:fixed;left:0;top:0;width:100%;background-color:rgba(255,255,255,0.95);z-index:1000;display:none;box-sizing:border-box;justify-content:space-around;align-items:center;padding:5px 0 5px 5px;}
	.sar-theader-cont{box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;flex-grow: 2;}
	.sar-shareClose{text-align:center;width:15%;}
	.sar-shareClose img{width:20%;}
	.sar-deImg{width:35px;height:35px;}
	.sar-textContent{width:65%;padding:0 5px 0 5px;height:35px;display:flex;flex-direction:column;justify-content:center;}
	.sar-textName{color: #494949;font-size: 13px;height: 15px;line-height: 15px;}
	.sar-text-friend{color: #888888;font-size: 11px;height: 15px;line-height: 15px;}
	.sar-btnContent{width:20%;}
	.sar-btnContent button{color:#ffffff;width:100%;font-size:12px;text-align:center;background: #52a8f5;padding:7px 0;border-radius:3px;border:none;}
	.sar-text-friend span{color:#52a8f5;}
	.sar-theader-left{float:left;}
	.sar-theader-right{float:right;}
	//二维码
	.sar-QRcode-show{display:none;}
	.sar-dlg{width:100%;top:0px; overflow:auto;padding:0 10px;}
	.sar-close_button{width:100%; height:50px;text-align:right; padding-right:40px;margin-top: 50px;box-sizing:border-box;}
	.sar-close_button img{width:30px}
	.sar-QRcode{width:80%;margin-left:10%;}

	.sar-alert{top: 50px;width: 80%!important;margin: 10%;z-index: 3001!important;position: fixed;}
	.sar-alert_content{width:100%;  background:white;border-radius: 3px;padding:10px;box-sizing:border-box;padding-bottom:20px;padding-top:30px;}
	.sar-alert_content img{width: 80%;margin-left: 10%;}
	.sar-text-tips{height:80px;line-height:80px;color:#707070;font-size:13px;text-align:center;}
	p{margin:0;padding:0;}
</style>

<script>
	// $(".closex").click(function () {
		// $.ajax({
                // url: '/weixinpl/common_shop/jiushop/closex_session.php',
                // dataType: 'json',
                // type: 'post',
                // data: {

                // },
                // success: function(result){                    
                    // $(".theader").hide();
                // }
            // })
	// });
	//控制引导是否显示 --start
	var closex = sessionStorage.getItem("closex"); 
	if(closex == 1){
		$(".sar-theader").hide();
	}else{
		$(".sar-theader").css('display','flex');
	}	
	$(".sar-closex").click(function () {
		sessionStorage.setItem("closex", 1); 
		$(".sar-theader").hide();
	})
	//控制引导是否显示 --end
	
    $('.sar-attention').click(function(){
        $('.sar-QRcode-show').show();
    })
    $('.sar-close_button').click(function(){
        $('.sar-QRcode-show').hide();
    })
	var app_url_type = '0';
	var app_domain_name = '';
	var app_diy_url = '1';
	function guide_to(type){
		if( type == "phone" ){
			
			//绑定手机
			window.location.href = "/weixinpl/mshop/bind_phone.php?customer_id=ATNWYw==&is_b=-1";
		}else if( type == "app" ){
			if(app_url_type == ''){
				alert('商家未配置APP跳转类型');
				return false;
			}
			if( app_url_type == 0 ){
				if(app_domain_name == ''){
					alert('商家未配置APP跳转域名');
					return false;
				}
				window.location.href = app_domain_name+"/YAChatManage/App/download?customer_id=47";
			}else if(app_url_type == 1){
				if(app_diy_url == ''){
					alert('商家未配置APP跳转链接');
					return false;
				}
				window.location.href = app_diy_url;
			}
			
		}
		
	}
</script>

<script src="./index_files/jweixin-1.0.0.js.下载"></script>
<script>
function search_name(){
	var searchname = document.getElementById("searchname").value;
	var url="../../mshop/list.php?searchname="+searchname+""+"&customer_id=ATNWYw==";
	document.location = url;
}
function lbs_search_name(){
	var lbs_searchname = document.getElementById("lbs_searchname").value;
	var url="../../mshop/list.php?searchname="+lbs_searchname+""+"&customer_id=ATNWYw==";
	document.location = url;
}
  /*  var title="有钱赚旅游 ";
	  var imgurl="https://admin.bonnidee.cn/weixinpl/up/1/47/Product/product/1515659649823.png";
	  var desc1="有钱赚旅游 ";
	  var linkurl="//admin.bonnidee.cn/weixinpl/common_shop/jiushop/forward.php?type=1&customer_id=ATNWYw==&exp_user_id=DSZaaQ==&owner_id=";
	*/

	var title = `有钱赚旅游 `;
	var link ='//admin.bonnidee.cn/weixinpl/common_shop/jiushop/forward.php?type=1&customer_id=ATNWYw==&exp_user_id=DSZaaQ==&owner_id='; //微信默认分享链接
	var new_share_url = 'https://admin.bonnidee.cn/weixinpl/common_shop/jiushop/index.php?customer_id=ATNWYw==';	//QQ，QQ空间，QQ微博分享链接
	var imgUrl;

			imgUrl='https://admin.bonnidee.cn/weixinpl/up/1/47/Product/product/1515659649823.png'; // 分享图标
		var desc;
	desc = '中国旅行社总社(上海)有限公司  是中国旅游集团公司(原中国港中旅集团公司)旗下负责旅行社业务的全资子公司。2016年与中国国旅合并成立中国旅游集团公司，完成了中国旅游业“航母型”合并重组。双方旗下的核心产业—中国旅行社总社(CTS)、港中旅国际(CTI)、中国国旅(CITS)、招商国旅(CMIT)、香港中旅社和海外分社经过整合重组，共同组成了中旅总社(央企)。';
	if ( desc.length >= 120 ) {
		desc = desc.substring(0, 115)+'...';
	}
	//传值给app
	var app_share_data = {
		appId: 'wx1c9a8f15f70c28b1',
		timestamp: '1521181779',
		nonceStr: 'DVyUzuSDfRHrHbBv',
		signature: 'e92f86d5b55d6824d4e017f94835dabaf79fa759',
		share_url: link,
		title: title,
		desc: desc,
		imgUrl: imgUrl,
		share_type: 1
	};
	var share_app_type = -1;

	function getAppShareData () {
		var _app_share_data = JSON.stringify(app_share_data);
		if ( _app_share_data == '{}' ) {
			_app_share_data = '';
		}

		//android不用返回值
		if ( share_app_type == 1 ) {	//app: ios
			return _app_share_data;
		} else if ( share_app_type == 2 ) {	//android
			window.android.androidGetShareDate(_app_share_data);
		}
	}


   wx.config({
    debug: false,
    appId: 'wx1c9a8f15f70c28b1',
    timestamp: '1521181779',
    nonceStr: 'DVyUzuSDfRHrHbBv',
    signature: 'e92f86d5b55d6824d4e017f94835dabaf79fa759',
    jsApiList: [
      // 所有要调用的 API 都要加到这个列表中
	  'onMenuShareTimeline',
	  'onMenuShareAppMessage',
	  'hideMenuItems',
	  'onMenuShareQQ',
	  'onMenuShareWeibo',
	  'onMenuShareQZone',
    ]
  });

  wx.ready(function () {
    // 在这里调用 API
	/* 	wx.hideMenuItems({
			menuList: [
				"menuItem:share:qq",//隐藏分享到QQ
				'menuItem:copyUrl', // 复制链接
				"menuItem:originPage",//原网页
				"menuItem:readMode",//阅读模式
				"menuItem:openWithQQBrowser",//在QQ浏览器中打开
				"menuItem:openWithSafari", //在Safari中打开
				"getLocation"
			], // 要隐藏的菜单项，所有menu项见附录3
		}); */
		wx.onMenuShareTimeline({
			title: title, // 分享标题
			link: link, // 分享链接
			imgUrl:imgUrl, // 分享图标
			success: function () {
				// 用户确认分享后执行的回调函数
			},
			cancel: function () {
				// 用户取消分享后执行的回调函数
			}
		});

		wx.onMenuShareAppMessage({
			title: title, // 分享标题
			desc: desc, // 分享描述
			link: link, // 分享链接
			imgUrl:imgUrl,
			//imgUrl: 'https://admin.bonnidee.cn/weixinpl/up/1/47/Product/product/1515659649823.png', // 分享图标
			type: '', // 分享类型,music、video或link，不填默认为link
			dataUrl: '', // 如果type是music或video，则要提供数据链接，默认为空
			success: function () {
				// 用户确认分享后执行的回调函数

			},
			cancel: function () {
				// 用户取消分享后执行的回调函数
			}
		});



		wx.onMenuShareQQ({
				title: title, // 分享标题
				desc: desc, // 分享描述
				link: new_share_url, // 分享链接
				imgUrl: imgUrl, // 分享图标
				success: function () {
				   // 用户确认分享后执行的回调函数
				},
				cancel: function () {
				   // 用户取消分享后执行的回调函数
				}
			});

			wx.onMenuShareWeibo({
				title: title, // 分享标题
				desc: desc, // 分享描述
				link: new_share_url, // 分享链接
				imgUrl: imgUrl, // 分享图标
				success: function () {
				   // 用户确认分享后执行的回调函数
				},
				cancel: function () {
					// 用户取消分享后执行的回调函数
				}
			});

			wx.onMenuShareQZone({
				title: title, // 分享标题
				desc: desc, // 分享描述
				link: new_share_url, // 分享链接
				imgUrl: imgUrl, // 分享图标
				success: function () {
				   // 用户确认分享后执行的回调函数
				},
				cancel: function () {
					// 用户取消分享后执行的回调函数
				}
			});

		
  });
</script>
<script type="text/javascript" src="./index_files/jquery.lazyload.js.下载"></script>
<script>
	$(function() {
		$("#list img").lazyload({effect: "fadeIn"});
	});
	function close_button(){
			document.getElementById("dianji_bg").style.display="none";
		}


</script>

<script type="text/javascript">
  var WHeight = $(window).height();
  $('#category').css('max-height',WHeight+'px');
// 记录滚动高度
// $(function() {
// sctpFun();
// });
// 	function onscrollFun() {
// 		var scrollTH=$(window).scrollTop();
// 		localStorage.scrollTHH=scrollTH;
// 		localStorage.pageNum=page_num;
// 	}
// 	function sctpFun() {
// 		console.log(localStorage.scrollTHH)
// 		var scrollTHHH=localStorage.scrollTHH;
// 		var pageNum=localStorage.pageNum;
// 		if (scrollTHHH) { //如果有记录scrolltop。返回到滚动处
// 			var startTime = new Date().getTime();
// 			var setScroll= setInterval(function(){
// 				$(window).scrollTop(scrollTHHH);
// 				if(new Date().getTime() - startTime > 2000 ||$(window).scrollTop()==scrollTHHH){
// 					clearInterval(setScroll);
// 					return;
// 				}
// 			},100);
// 		}
// 		var customer_id='47';
// 		var owner_typeids='';
// 		for (var i = 0; i < pageNum; i++) {
// 			get_commodity_detail(customer_id,owner_typeids);
// 		}

// 		localStorage.scrollTHH=""; //返回后清空记录的内容，设置数据回正常。
// 	}

/*深圳添加 用于 艺人*/
function getCookie(name){
    var arr,reg = new RegExp("(^| )"+name+"=([^;]*)(;|$)");
    if(arr=document.cookie.match(reg))
        return unescape(arr[2]);
    else
        return null;
}

localStorage.setItem('user_id_en','V3wAMw==');/*深圳添加 用于 艺人*/
</script>
<script src="./index_files/CheckUserLogin.js.下载"></script><!--检验用户是否已登录-->

</div></body></html>